[PATCH] spi: sun4i: disable clocks in the remove function

2017-12-06 Thread Takuo Koguchi
mclk and hclk need to be disabled since pm_runtime_disable does not disable the clocks. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Takuo Koguchi --- V2: use pm_runtime_force_suspend to avoid unbalance disable call. Compile test only, no runtime test.

Re: [PATCH] spi: sun4i: disable clocks in the remove function

2017-12-06 Thread Maxime Ripard
Hi, On Thu, Dec 07, 2017 at 12:22:13AM +0900, Takuo Koguchi wrote: > mclk and hclk need to be disabled explicitly since pm_runtime_disable does > not disable the clocks. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Takuo Koguchi > --- > drivers/spi/spi-

[PATCH] spi: sun4i: disable clocks in the remove function

2017-12-06 Thread Takuo Koguchi
mclk and hclk need to be disabled explicitly since pm_runtime_disable does not disable the clocks. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Takuo Koguchi --- drivers/spi/spi-sun4i.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/spi/spi-sun