openwrtv4/target/linux/brcm2708/patches-4.1/0091-BCM270X_DT-Correct-the-lirc-rpi-overlay-documentatio.patch
John Crispin d4b8d51580 brcm2708: update 4.1 patches
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47922
2015-12-17 09:29:22 +00:00

26 lines
1.1 KiB
Diff

From 3dcb1e77457080219495e6feb0f4c89fa0e930cf Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 29 Jun 2015 12:14:02 +0100
Subject: [PATCH 091/222] BCM270X_DT: Correct the lirc-rpi overlay
documentation
The polarity of the "sense" parameter was inverted with respect to reality.
See: https://github.com/raspberrypi/linux/issues/1038
---
arch/arm/boot/dts/overlays/README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -313,8 +313,8 @@ Params: gpio_out_pin GPIO fo
(default "down")
sense Override the IR receive auto-detection logic:
- "1" = force active high
- "0" = force active low
+ "0" = force active-high
+ "1" = force active-low
"-1" = use auto-detection
(default "-1")