openwrt/target/linux/brcm2708/patches-4.4/0377-gpio-ir-overlay-gpio_pin-shouldn-t-change-pull-setti.patch

23 lines
1.0 KiB
Diff
Raw Normal View History

From 61702c8c68510797341356d03cf63380190afea9 Mon Sep 17 00:00:00 2001
From: Matthias Reichl <hias@horus.com>
Date: Sat, 4 Jun 2016 11:30:48 +0200
Subject: [PATCH] gpio-ir overlay: gpio_pin shouldn't change pull setting
Signed-off-by: Matthias Reichl <hias@horus.com>
---
arch/arm/boot/dts/overlays/gpio-ir-overlay.dts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/arch/arm/boot/dts/overlays/gpio-ir-overlay.dts
+++ b/arch/arm/boot/dts/overlays/gpio-ir-overlay.dts
@@ -36,8 +36,7 @@
__overrides__ {
// parameters
gpio_pin = <&gpio_ir>,"gpios:4",
- <&gpio_ir_pins>,"brcm,pins:0",
- <&gpio_ir_pins>,"brcm,pull:0"; // pin number
+ <&gpio_ir_pins>,"brcm,pins:0"; // pin number
gpio_pull = <&gpio_ir_pins>,"brcm,pull:0"; // pull-up/down state
rc-map-name = <&gpio_ir>,"linux,rc-map-name"; // default rc map