ar71xx: 3.2: fix AHB clock name in rb4xx_spi
SVN-Revision: 30390
This commit is contained in:
parent
32194001ed
commit
c126bed503
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@
|
||||||
|
|
||||||
rbspi = spi_master_get_devdata(master);
|
rbspi = spi_master_get_devdata(master);
|
||||||
+
|
+
|
||||||
+ rbspi->ahb_clk = clk_get(&pdev->dev, "AHB");
|
+ rbspi->ahb_clk = clk_get(&pdev->dev, "ahb");
|
||||||
+ if (IS_ERR(rbspi->ahb_clk)) {
|
+ if (IS_ERR(rbspi->ahb_clk)) {
|
||||||
+ err = PTR_ERR(rbspi->ahb_clk);
|
+ err = PTR_ERR(rbspi->ahb_clk);
|
||||||
+ goto err_put_master;
|
+ goto err_put_master;
|
||||||
|
|
Loading…
Reference in a new issue