projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
145cfc3
)
spi: synquacer: Add missing clk_disable_unprepare()
author
Guo Mengqi
<guomengqi3@huawei.com>
Fri, 24 Jun 2022 00:56:14 +0000
(08:56 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 27 Jun 2022 22:26:53 +0000
(23:26 +0100)
Add missing clk_disable_unprepare() in synquacer_spi_resume().
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Guo Mengqi <guomengqi3@huawei.com>
Link:
https://lore.kernel.org/r/20220624005614.49434-1-guomengqi3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-synquacer.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-synquacer.c
b/drivers/spi/spi-synquacer.c
index ea706d9629cb162f433e4844c2156f0e36259e6c..47cbe73137c23c930c1f4d1a309d5badba2ae7cf 100644
(file)
--- a/
drivers/spi/spi-synquacer.c
+++ b/
drivers/spi/spi-synquacer.c
@@
-783,6
+783,7
@@
static int __maybe_unused synquacer_spi_resume(struct device *dev)
ret = synquacer_spi_enable(master);
if (ret) {
+ clk_disable_unprepare(sspi->clk);
dev_err(dev, "failed to enable spi (%d)\n", ret);
return ret;
}