media: lirc: report ir receiver overflow
authorSean Young <sean@mess.org>
Sat, 15 Jan 2022 10:19:11 +0000 (11:19 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 28 Jan 2022 18:32:50 +0000 (19:32 +0100)
commit68a99f6a0ebfe9101ea79ba5af1c407a5ad4f629
treeb69aadd1e508be6ab565b8da568edc3e812e8484
parent950170d6d2a5d3c0c959696d2440e5c8dfd02896
media: lirc: report ir receiver overflow

If the driver reports that the hardware had an overflow, report this to
userspace. It would be nice to know when this happens, and not just get
a long space.

This change has been tested with lircd, ir-ctl, and ir-keytable.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Documentation/userspace-api/media/lirc.h.rst.exceptions
Documentation/userspace-api/media/rc/lirc-dev-intro.rst
drivers/media/rc/lirc_dev.c
drivers/media/rc/rc-loopback.c
include/uapi/linux/lirc.h