Skip to content

Commit 90cafce

Browse files
mudongliangbroonie
authored andcommitted
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: 5762ab7 ("spi: Add support for Armada 3700 SPI Controller") Signed-off-by: Dongliang Mu <mudongliangabcd@gmail.com> Link: https://lore.kernel.org/r/20211206101931.2816597-1-mudongliangabcd@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent bdac3bb commit 90cafce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-armada-3700.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ static int a3700_spi_probe(struct platform_device *pdev)
901901
return 0;
902902

903903
error_clk:
904-
clk_disable_unprepare(spi->clk);
904+
clk_unprepare(spi->clk);
905905
error:
906906
spi_master_put(master);
907907
out:

0 commit comments

Comments
 (0)