summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-synquacer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-synquacer.c')
-rw-r--r--drivers/spi/spi-synquacer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-synquacer.c b/drivers/spi/spi-synquacer.c
index ea706d9629cb..47cbe73137c2 100644
--- 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;
}