aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ar71xx/files/drivers/spi/spi-rb4xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/spi/spi-rb4xx.c b/target/linux/ar71xx/files/drivers/spi/spi-rb4xx.c
index 56260ffc92..357fd41708 100644
--- a/target/linux/ar71xx/files/drivers/spi/spi-rb4xx.c
+++ b/target/linux/ar71xx/files/drivers/spi/spi-rb4xx.c
@@ -413,7 +413,7 @@ static int rb4xx_spi_probe(struct platform_device *pdev)
goto err_put_master;
}
- err = clk_enable(rbspi->ahb_clk);
+ err = clk_prepare_enable(rbspi->ahb_clk);
if (err)
goto err_clk_put;