]> git.baikalelectronics.ru Git - kernel.git/commit
media: lirc: allow lirc device to be opened more than once
authorSean Young <sean@mess.org>
Thu, 2 Nov 2017 21:21:13 +0000 (17:21 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 14 Dec 2017 15:35:25 +0000 (10:35 -0500)
commit3e0cb56551f6fd10e9f718a48a35606f78c0f750
tree9a3b2bfd8602c6a8bd160fedcacdff3a4eb9cdd4
parent472cd6236324d2a8796f9423f86f0e13795f6969
media: lirc: allow lirc device to be opened more than once

This makes it possible for lircd to read from a lirc chardev, and not
keep it busy.

Note that this changes the default for timeout reports to on. lircd
already enables timeout reports when it opens a lirc device, leaving
them on until the next reboot.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/lirc_dev.c
include/media/rc-core.h