mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ar71xx: 3.2: fix AHB clock name in rb4xx_spi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30390 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5a35d25a16
commit
29dea146ee
@ -199,7 +199,7 @@
|
||||
|
||||
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)) {
|
||||
+ err = PTR_ERR(rbspi->ahb_clk);
|
||||
+ goto err_put_master;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user