Re: [PATCH 2/2] spi/s3c64xx: Fix doubled clock disable on suspend

2013-10-21 Thread Sylwester Nawrocki
On 21/10/13 15:42, Krzysztof Kozlowski wrote: > Fix doubled clock disable and unprepare during PM suspend which triggered > the warnings: > The clocks may be already disabled before suspending. Check PM runtime > suspend status and disable clocks only if device is not suspended. > During resume

[PATCH 2/2] spi/s3c64xx: Fix doubled clock disable on suspend

2013-10-21 Thread Krzysztof Kozlowski
Fix doubled clock disable and unprepare during PM suspend which triggered the warnings: WARNING: at drivers/clk/clk.c:800 clk_disable+0x18/0x24() Modules linked in: CPU: 0 PID: 1745 Comm: sh Not tainted 3.10.14-01211-ge2549bb-dirty #62 [] (unwind_backtrace+0x0/0x138) from []

[PATCH 2/2] spi/s3c64xx: Fix doubled clock disable on suspend

2013-10-21 Thread Krzysztof Kozlowski
Fix doubled clock disable and unprepare during PM suspend which triggered the warnings: WARNING: at drivers/clk/clk.c:800 clk_disable+0x18/0x24() Modules linked in: CPU: 0 PID: 1745 Comm: sh Not tainted 3.10.14-01211-ge2549bb-dirty #62 [c0015980] (unwind_backtrace+0x0/0x138) from [c0012a44]

Re: [PATCH 2/2] spi/s3c64xx: Fix doubled clock disable on suspend

2013-10-21 Thread Sylwester Nawrocki
On 21/10/13 15:42, Krzysztof Kozlowski wrote: Fix doubled clock disable and unprepare during PM suspend which triggered the warnings: The clocks may be already disabled before suspending. Check PM runtime suspend status and disable clocks only if device is not suspended. During resume do not