mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:16:16 +02:00
[lantiq] make pinctrl-falcon honour status="disbaled";
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34714 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
982709389c
commit
42ad306b03
14
target/linux/lantiq/patches-3.7/0125-falcon-pad.patch
Normal file
14
target/linux/lantiq/patches-3.7/0125-falcon-pad.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Index: linux-3.7-rc8/drivers/pinctrl/pinctrl-falcon.c
|
||||||
|
===================================================================
|
||||||
|
--- linux-3.7-rc8.orig/drivers/pinctrl/pinctrl-falcon.c 2012-12-03 20:22:37.000000000 +0100
|
||||||
|
+++ linux-3.7-rc8/drivers/pinctrl/pinctrl-falcon.c 2012-12-16 10:57:21.454809078 +0100
|
||||||
|
@@ -398,6 +398,9 @@
|
||||||
|
u32 avail;
|
||||||
|
int pins;
|
||||||
|
|
||||||
|
+ if (!of_device_is_available(np))
|
||||||
|
+ continue;
|
||||||
|
+
|
||||||
|
if (!ppdev) {
|
||||||
|
dev_err(&pdev->dev, "failed to find pad pdev\n");
|
||||||
|
continue;
|
Loading…
Reference in New Issue
Block a user