spi/s3c64xx: Implement runtime PM support
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 4 Dec 2011 00:58:06 +0000 (00:58 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 21 Jan 2012 13:10:08 +0000 (13:10 +0000)
commitb97b662174162b44944abd0fa9faea50006ba711
tree6097e95949df64f7504bff8f09c100a0cd33d2bd
parente25d0bf917e8f3b6b5bafdc2fe666ca81eb9099d
spi/s3c64xx: Implement runtime PM support

Enable and disable the clocks to the SPI controller using runtime PM. This
serves the dual purpose of reducing power consumption a little and letting
the core know when the device is idle.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Heiko Stuebner <heiko@sntech.de>
drivers/spi/spi-s3c64xx.c