openwrtv3/target/linux/brcm2708/patches-4.4/0209-lirc_rpi-Lower-IR-reception-error-to-debug.patch
Álvaro Fernández Rojas 011f2c26f1 brcm2708: update linux 4.4 patches to latest version
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>
2016-12-04 12:32:04 +01:00

21 lines
855 B
Diff

From fbef85f29f48bd75a0bd5a7aa9c1a061ef30eaad Mon Sep 17 00:00:00 2001
From: Rodrigo Freire <rfreire@rf.usersys.redhat.com>
Date: Tue, 22 Mar 2016 12:40:33 -0300
Subject: [PATCH] lirc_rpi: Lower IR reception error to debug
Lowers a IR reception error condition message to KERNEL_DEBUG
---
drivers/staging/media/lirc/lirc_rpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/staging/media/lirc/lirc_rpi.c
+++ b/drivers/staging/media/lirc/lirc_rpi.c
@@ -271,7 +271,7 @@ static irqreturn_t irq_handler(int i, vo
data = PULSE_MASK; /* really long time */
if (!(signal^sense)) {
/* sanity check */
- printk(KERN_WARNING LIRC_DRIVER_NAME
+ printk(KERN_DEBUG LIRC_DRIVER_NAME
": AIEEEE: %d %d %lx %lx %lx %lx\n",
signal, sense, tv.tv_sec, lasttv.tv_sec,
tv.tv_usec, lasttv.tv_usec);