]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit7e45d660e4d487aa2cbeb003bd4338433feba30a
tree9a3b2bfd8602c6a8bd160fedcacdff3a4eb9cdd4
parentaefb5e3434db4a98f30fee460b0d8885aad0f456
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