diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-02-06 17:12:09 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-02-06 22:24:42 +0100 |
commit | dab5a4406799633a319381b0127e1fda82b15c02 (patch) | |
tree | 7d100dfd99914c1195ccada0f62387d4fced8563 /target/linux/brcm2708/patches-4.4/0557-lirc_rpi-Delete-vestigial-gpio_in_pull-parameter.patch | |
parent | 6b01f0f196c0c1ff43c362e9aef4433eacbbb8c6 (diff) | |
download | upstream-dab5a4406799633a319381b0127e1fda82b15c02.tar.gz upstream-dab5a4406799633a319381b0127e1fda82b15c02.tar.bz2 upstream-dab5a4406799633a319381b0127e1fda82b15c02.zip |
brcm2708: update linux 4.4 patches to latest version
n
As usual these patches were extracted and rebased from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0557-lirc_rpi-Delete-vestigial-gpio_in_pull-parameter.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0557-lirc_rpi-Delete-vestigial-gpio_in_pull-parameter.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0557-lirc_rpi-Delete-vestigial-gpio_in_pull-parameter.patch b/target/linux/brcm2708/patches-4.4/0557-lirc_rpi-Delete-vestigial-gpio_in_pull-parameter.patch new file mode 100644 index 0000000000..58bab71857 --- /dev/null +++ b/target/linux/brcm2708/patches-4.4/0557-lirc_rpi-Delete-vestigial-gpio_in_pull-parameter.patch @@ -0,0 +1,38 @@ +From d2517545ca23d2a147402f7c5f736d046e921b34 Mon Sep 17 00:00:00 2001 +From: Phil Elwell <phil@raspberrypi.org> +Date: Mon, 5 Dec 2016 09:58:16 +0000 +Subject: [PATCH] lirc_rpi: Delete vestigial gpio_in_pull parameter + +The RPi GPIO no longer support run-time "pull" settings - one should +Device Tree and pinctrl instead - so remove the parameter to avoid +confusion. + +See: https://github.com/raspberrypi/linux/issues/1711 + +Signed-off-by: Phil Elwell <phil@raspberrypi.org> +--- + drivers/staging/media/lirc/lirc_rpi.c | 6 ------ + 1 file changed, 6 deletions(-) + +--- a/drivers/staging/media/lirc/lirc_rpi.c ++++ b/drivers/staging/media/lirc/lirc_rpi.c +@@ -64,8 +64,6 @@ + + /* set the default GPIO input pin */ + static int gpio_in_pin = 18; +-/* set the default pull behaviour for input pin */ +-static int gpio_in_pull = BCM2708_PULL_DOWN; + /* set the default GPIO output pin */ + static int gpio_out_pin = 17; + /* enable debugging messages */ +@@ -716,10 +714,6 @@ module_param(gpio_in_pin, int, S_IRUGO); + MODULE_PARM_DESC(gpio_in_pin, "GPIO input pin number of the BCM processor." + " (default 18"); + +-module_param(gpio_in_pull, int, S_IRUGO); +-MODULE_PARM_DESC(gpio_in_pull, "GPIO input pin pull configuration." +- " (0 = off, 1 = up, 2 = down, default down)"); +- + module_param(sense, int, S_IRUGO); + MODULE_PARM_DESC(sense, "Override autodetection of IR receiver circuit" + " (0 = active high, 1 = active low )"); |