aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.1/0057-pinctrl-bcm2835-bcm2835_gpio_direction_output-must-s.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-02-25 10:14:05 +0000
committerJohn Crispin <john@openwrt.org>2016-02-25 10:14:05 +0000
commit0834f9f07631a8857a96614e37cb21e1dc84ffb4 (patch)
treec62e777de69d8397ed7870991bc46d5648a20046 /target/linux/brcm2708/patches-4.1/0057-pinctrl-bcm2835-bcm2835_gpio_direction_output-must-s.patch
parentb3dc9566a46efa67951ff6ae28e4397da9db92af (diff)
downloadupstream-0834f9f07631a8857a96614e37cb21e1dc84ffb4.tar.gz
upstream-0834f9f07631a8857a96614e37cb21e1dc84ffb4.tar.bz2
upstream-0834f9f07631a8857a96614e37cb21e1dc84ffb4.zip
brcm2708: remove linux 4.1 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48766
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0057-pinctrl-bcm2835-bcm2835_gpio_direction_output-must-s.patch')
-rw-r--r--target/linux/brcm2708/patches-4.1/0057-pinctrl-bcm2835-bcm2835_gpio_direction_output-must-s.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0057-pinctrl-bcm2835-bcm2835_gpio_direction_output-must-s.patch b/target/linux/brcm2708/patches-4.1/0057-pinctrl-bcm2835-bcm2835_gpio_direction_output-must-s.patch
deleted file mode 100644
index 6f58514a1b..0000000000
--- a/target/linux/brcm2708/patches-4.1/0057-pinctrl-bcm2835-bcm2835_gpio_direction_output-must-s.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From fe1f360d5a84d13cecc758866356ce8ab8c6c3ef Mon Sep 17 00:00:00 2001
-From: Phil Elwell <phil@raspberrypi.org>
-Date: Wed, 4 Feb 2015 10:02:24 +0000
-Subject: [PATCH 057/222] pinctrl-bcm2835: bcm2835_gpio_direction_output must
- set the value
-
----
- drivers/pinctrl/bcm/pinctrl-bcm2835.c | 9 ++++++++-
- 1 file changed, 8 insertions(+), 1 deletion(-)
-
---- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
-+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
-@@ -355,7 +355,14 @@ static int bcm2835_gpio_get(struct gpio_
- static int bcm2835_gpio_direction_output(struct gpio_chip *chip,
- unsigned offset, int value)
- {
-- return pinctrl_gpio_direction_output(chip->base + offset);
-+ struct bcm2835_pinctrl *pc = dev_get_drvdata(chip->dev);
-+ int ret;
-+
-+ ret = pinctrl_gpio_direction_output(chip->base + offset);
-+ if (ret >= 0)
-+ bcm2835_gpio_set_bit(pc, value ? GPSET0 : GPCLR0, offset);
-+
-+ return ret;
- }
-
- static void bcm2835_gpio_set(struct gpio_chip *chip, unsigned offset, int value)