spi/s3c64xx: Ensure runtime PM is enabled prior to registration
authorMark Brown <broonie@linaro.org>
Fri, 27 Sep 2013 10:52:35 +0000 (11:52 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 27 Sep 2013 13:26:04 +0000 (14:26 +0100)
commit3e2bd64d243ff0f3dc08c49ff218fed42ee9d981
tree9f83455eb6937390c1d3d0c2cd54347e0de0740f
parent4a10c2ac2f368583138b774ca41fac4207911983
spi/s3c64xx: Ensure runtime PM is enabled prior to registration

Otherwise we may try to start transfers immediately and then fail to
runtime resume the device causing us not to have clocks enabled.

Signed-off-by: Mark Brown <broonie@linaro.org>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Conflicts:
drivers/spi/spi-s3c64xx.c
drivers/spi/spi-s3c64xx.c