[PATCH 4.19 13/54] media: rc: IR signal for Panasonic air conditioner too long

From: Greg Kroah-Hartman
Date: Sat Apr 11 2020 - 08:14:53 EST


From: Sean Young <sean@xxxxxxxx>

commit 5c4c8b4a999019f19e770cb55cbacb89c95897bd upstream.

The IR signal to control the Panasonic ACXA75C00600 air conditioner has
439 pulse/spaces. Increase limit to make it possible to transmit signal.

Reported-by: Takashi Kanamaru <neuralassembly@xxxxxxxxx>
Signed-off-by: Sean Young <sean@xxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
drivers/media/rc/lirc_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/media/rc/lirc_dev.c
+++ b/drivers/media/rc/lirc_dev.c
@@ -29,7 +29,7 @@
#include "rc-core-priv.h"
#include <uapi/linux/lirc.h>

-#define LIRCBUF_SIZE 256
+#define LIRCBUF_SIZE 1024

static dev_t lirc_base_dev;