summaryrefslogtreecommitdiff
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-12-16 10:03:28 +0000
committerJohn Crispin <john@openwrt.org>2012-12-16 10:03:28 +0000
commit7bcb6b54791ca68ed3433ea0db1bba270d7d0f25 (patch)
tree1a42343bb6e87dfc98f3556a5bbc3a15becaaecb /target/linux/lantiq
parent573cf134192d57a94d5495b4b3d7dd0bcd8c1ca8 (diff)
downloadmtk-20170518-7bcb6b54791ca68ed3433ea0db1bba270d7d0f25.zip
mtk-20170518-7bcb6b54791ca68ed3433ea0db1bba270d7d0f25.tar.gz
mtk-20170518-7bcb6b54791ca68ed3433ea0db1bba270d7d0f25.tar.bz2
make pinctrl-falcon honour status="disbaled";
SVN-Revision: 34714
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/patches-3.7/0125-falcon-pad.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-3.7/0125-falcon-pad.patch b/target/linux/lantiq/patches-3.7/0125-falcon-pad.patch
new file mode 100644
index 0000000..5aa390e
--- /dev/null
+++ b/target/linux/lantiq/patches-3.7/0125-falcon-pad.patch
@@ -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;