diff options
author | Dongliang Mu <[email protected]> | 2021-12-06 18:19:31 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-01-26 12:58:14 +0000 |
commit | 90cafce461de108bfb07c06148395dc86c3fcd23 (patch) | |
tree | 31717d2319ae46cad5db53da4a37b3dbefe4084a | |
parent | bdac3bbd0dc63873a9c606b8e4f814e6d61d288d (diff) |
spi: change clk_disable_unprepare to clk_unprepare
The corresponding API for clk_prepare is clk_unprepare, other than
clk_disable_unprepare.
Fix this by changing clk_disable_unprepare to clk_unprepare.
Fixes: 5762ab71eb24 ("spi: Add support for Armada 3700 SPI Controller")
Signed-off-by: Dongliang Mu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | drivers/spi/spi-armada-3700.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-armada-3700.c b/drivers/spi/spi-armada-3700.c index 46feafe4e201..d8cc4b270644 100644 --- a/drivers/spi/spi-armada-3700.c +++ b/drivers/spi/spi-armada-3700.c @@ -901,7 +901,7 @@ static int a3700_spi_probe(struct platform_device *pdev) return 0; error_clk: - clk_disable_unprepare(spi->clk); + clk_unprepare(spi->clk); error: spi_master_put(master); out: |