aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-3.10/0177-Added-PCB-rev2-GPIO-pins.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-09-27 19:10:51 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-09-27 19:10:51 +0000
commit6918ea2484861cbf806c812b95a814ab40063c05 (patch)
tree3f4d53baabebad9339cadd1bbfaaf07ed61b9c1e /target/linux/brcm2708/patches-3.10/0177-Added-PCB-rev2-GPIO-pins.patch
parentff6b0d57b8e4dd9c72b13ac0586c523c8d6e8841 (diff)
downloadupstream-6918ea2484861cbf806c812b95a814ab40063c05.tar.gz
upstream-6918ea2484861cbf806c812b95a814ab40063c05.tar.bz2
upstream-6918ea2484861cbf806c812b95a814ab40063c05.zip
brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
Update the 3.10 rasperry patches by rebasing raspberry/rpi-3.10-y against linux-stable/v3.10.49. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 42678
Diffstat (limited to 'target/linux/brcm2708/patches-3.10/0177-Added-PCB-rev2-GPIO-pins.patch')
-rw-r--r--target/linux/brcm2708/patches-3.10/0177-Added-PCB-rev2-GPIO-pins.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-3.10/0177-Added-PCB-rev2-GPIO-pins.patch b/target/linux/brcm2708/patches-3.10/0177-Added-PCB-rev2-GPIO-pins.patch
new file mode 100644
index 0000000000..d6e11a9c40
--- /dev/null
+++ b/target/linux/brcm2708/patches-3.10/0177-Added-PCB-rev2-GPIO-pins.patch
@@ -0,0 +1,27 @@
+From 4382cc0c5600466360032562dcdac17c7c6e6aa7 Mon Sep 17 00:00:00 2001
+From: eduvik <victor.rajewski@jmss.vic.edu.au>
+Date: Fri, 14 Mar 2014 11:31:09 +1100
+Subject: [PATCH 177/196] Added PCB rev2 GPIO pins
+
+---
+ drivers/staging/media/lirc/lirc_rpi.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/staging/media/lirc/lirc_rpi.c b/drivers/staging/media/lirc/lirc_rpi.c
+index c76f696..8aee83f 100644
+--- a/drivers/staging/media/lirc/lirc_rpi.c
++++ b/drivers/staging/media/lirc/lirc_rpi.c
+@@ -80,8 +80,8 @@ static long send_pulse(unsigned long length);
+ static void send_space(long length);
+ static void lirc_rpi_exit(void);
+
+-int valid_gpio_pins[] = { 0, 1, 4, 8, 7, 9, 10, 11, 14, 15, 17, 18, 21, 22, 23,
+- 24, 25 };
++int valid_gpio_pins[] = { 0, 1, 2, 3, 4, 7, 8, 9, 10, 11, 14, 15, 17, 18, 21,
++ 22, 23, 24, 25 ,27, 28, 29, 30, 31 };
+
+ static struct platform_device *lirc_rpi_dev;
+ static struct timeval lasttv = { 0, 0 };
+--
+1.9.1
+