[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211206101931.2816597-1-mudongliangabcd@gmail.com>
Date: Mon, 6 Dec 2021 18:19:31 +0800
From: Dongliang Mu <mudongliangabcd@...il.com>
To: Mark Brown <broonie@...nel.org>,
Romain Perier <romain.perier@...e-electrons.com>
Cc: Dongliang Mu <mudongliangabcd@...il.com>,
linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] driver: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 <mudongliangabcd@...il.com>
---
drivers/spi/spi-armada-3700.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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:
--
2.25.1
Powered by blists - more mailing lists