diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-18 15:54:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-18 15:54:23 +0000 |
commit | e7846156f23b109fd8789d60a4827171b06553a7 (patch) | |
tree | f0bddd8d50cf4209c70dcd43e564be8706ae51ce /target/linux/lantiq/patches-4.1/0045-pinctrl-lantiq-Fix-GPIO-Setup-of-GPIO-Port3.patch | |
parent | 9b4b2b4e17f10492798b14f7bb7e943ad86b4515 (diff) | |
download | mtk-20170518-e7846156f23b109fd8789d60a4827171b06553a7.zip mtk-20170518-e7846156f23b109fd8789d60a4827171b06553a7.tar.gz mtk-20170518-e7846156f23b109fd8789d60a4827171b06553a7.tar.bz2 |
lantiq: drop linux 4.1 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48323
Diffstat (limited to 'target/linux/lantiq/patches-4.1/0045-pinctrl-lantiq-Fix-GPIO-Setup-of-GPIO-Port3.patch')
-rw-r--r-- | target/linux/lantiq/patches-4.1/0045-pinctrl-lantiq-Fix-GPIO-Setup-of-GPIO-Port3.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/lantiq/patches-4.1/0045-pinctrl-lantiq-Fix-GPIO-Setup-of-GPIO-Port3.patch b/target/linux/lantiq/patches-4.1/0045-pinctrl-lantiq-Fix-GPIO-Setup-of-GPIO-Port3.patch deleted file mode 100644 index a5f92ee..0000000 --- a/target/linux/lantiq/patches-4.1/0045-pinctrl-lantiq-Fix-GPIO-Setup-of-GPIO-Port3.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 57b588c950b7e04e0f22393ad439299ba4fda9c3 Mon Sep 17 00:00:00 2001 -From: John Crispin <blogic@openwrt.org> -Date: Thu, 26 Nov 2015 11:00:09 +0100 -Subject: [PATCH] pinctrl/lantiq: Fix GPIO Setup of GPIO Port3 - -Some special handling of GPIO Port 3 is needed because of -some hardware thingofabob. - -Signed-off-by: John Crispin <blogic@openwrt.org> -Signed-off-by: Martin Schiller <mschiller@tdt.de> -Signed-off-by: Linus Walleij <linus.walleij@linaro.org> ---- - drivers/pinctrl/pinctrl-xway.c | 4 ++++ - 1 file changed, 4 insertions(+) - ---- a/drivers/pinctrl/pinctrl-xway.c -+++ b/drivers/pinctrl/pinctrl-xway.c -@@ -1570,6 +1570,10 @@ static int xway_gpio_dir_out(struct gpio - { - struct ltq_pinmux_info *info = dev_get_drvdata(chip->dev); - -+ if (PORT(pin) == PORT3) -+ gpio_setbit(info->membase[0], GPIO3_OD, PORT_PIN(pin)); -+ else -+ gpio_setbit(info->membase[0], GPIO_OD(pin), PORT_PIN(pin)); - gpio_setbit(info->membase[0], GPIO_DIR(pin), PORT_PIN(pin)); - xway_gpio_set(chip, pin, val); - |