spi: s3c64xx: extend driver to make full use of runtime PM autosuspend
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 3 Sep 2015 20:39:36 +0000 (22:39 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 14 Sep 2015 17:57:31 +0000 (18:57 +0100)
commit483867ee2070e045eb0a18fb7bb2f79d2433339f
tree8862e8001c3ea6433f4ac0e7e82644ccd623d775
parent3c863792e9b882c9256b4396742a4b257fb9c557
spi: s3c64xx: extend driver to make full use of runtime PM autosuspend

Extend the driver to make full use of runtime PM autosuspend.
Before only the SPI core was instructed to use autosuspend
by setting master->auto_runtime_pm. Nevertheless due to the missing
pm_runtime_use_autosuspend call autosuspend wasn't active.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c