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
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
mclk and hclk need to be disabled. Since pm_runtime_disable does
not disable the clocks, use pm_runtime_force_suspend instead.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Takuo Koguchi
---
V3: remove redundant pm_runtime_disable call.
Compile test only
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Takuo Koguchi
---
Compiled test only, no runtime test done.
drivers/spi/spi-jcore.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/spi/spi-jcore.c b/drivers/spi/spi-jcore.c
index
failed When probe function fails in registering the spi controller, the clock
should remain disabled.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Takuo Koguchi
---
Compiled test only, no runtime test done.
drivers/spi/spi-jcore.c | 4 +++-
1 file changed
When probe function fails in registering the spi controller, the clock
should remain disabled.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Takuo Koguchi
---
Compiled test only, no runtime test done.
drivers/spi/spi-jcore.c | 4 +++-
1 file changed, 3
6 matches
Mail list logo