]> git.karo-electronics.de Git - linux-beck.git/commit
spi/pl022: Unprepare clocks while suspended
authorMark Brown <broonie@linaro.org>
Wed, 22 Jan 2014 18:41:36 +0000 (18:41 +0000)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:22:55 +0000 (12:22 +0000)
commit3e7dde425dbcc7965398e92909d898c4ebc9fdb8
treeb6cc2d4804b702744feb1643f6087cdb363fa330
parent38dbfb59d1175ef458d006556061adeaa8751b72
spi/pl022: Unprepare clocks while suspended

When the driver was converted to clk_prepare() the suspend path didn't
have any changes made so the clock remains prepared throughout the runtime
of the driver. Unprepare it when suspended so that any savings that can be
made as a result are made.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/spi/spi-pl022.c