aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-12-16 10:03:28 +0000
committerJohn Crispin <blogic@openwrt.org>2012-12-16 10:03:28 +0000
commit9383f6fa7dad77e4e096d9c0ec43be1649323b3b (patch)
treeb20e4871833cd3634ec2607fcf920e690dc9ea7f /target
parent10ddaf7cbc378be7ce614bfe7efa317ffb4b0b8c (diff)
downloadupstream-9383f6fa7dad77e4e096d9c0ec43be1649323b3b.tar.gz
upstream-9383f6fa7dad77e4e096d9c0ec43be1649323b3b.tar.bz2
upstream-9383f6fa7dad77e4e096d9c0ec43be1649323b3b.zip
[lantiq] make pinctrl-falcon honour status="disbaled";
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34714 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 0000000000..5aa390ec43
--- /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;