spi/s3c64xx: Add missing pm_runtime_set_active() call in probe()
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 17 Oct 2013 16:06:46 +0000 (18:06 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 17 Oct 2013 23:33:11 +0000 (00:33 +0100)
commit383382501193dc70fb92393eb585a39f9d39b378
tree3d1c486ebf23c5e5448d8eb11cf9f133936a114a
parent61e6cfa80de5760bbe406f4e815b7739205754d2
spi/s3c64xx: Add missing pm_runtime_set_active() call in probe()

Mark device as PM runtime active during initialization to reflect
actual device power/clocks state. This reduces the enable count for SPI
bus controller gate clock so it can be disabled when the bus controller
is not used.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-s3c64xx.c