Marek Szyprowski e935dba111
spi: spi-s3c64xx: Fix system resume support
Since Linux v4.10 release (commit 1d9174fbc55e "PM / Runtime: Defer
resuming of the device in pm_runtime_force_resume()"),
pm_runtime_force_resume() function doesn't runtime resume device if it was
not runtime active before system suspend. Thus, driver should not do any
register access after pm_runtime_force_resume() without checking the
runtime status of the device. To fix this issue, simply move
s3c64xx_spi_hwinit() call to s3c64xx_spi_runtime_resume() to ensure that
hardware is always properly initialized. This fixes Synchronous external
abort issue on system suspend/resume cycle on newer Exynos SoCs.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
2018-05-17 13:27:08 +09:00
..
2017-07-17 12:09:38 +01:00
2018-04-20 17:53:20 +01:00
2016-07-07 11:44:43 +02:00
2018-05-03 10:27:21 +09:00
2015-12-07 20:09:09 +00:00
2018-05-03 10:27:43 +09:00
2017-08-23 17:12:05 +01:00
2017-01-23 18:09:37 +00:00
2018-04-19 18:17:46 +01:00
2017-08-10 15:50:23 +01:00
2017-05-26 12:41:07 +01:00
2018-05-11 11:34:41 +09:00