Searched hist:"74 c839b2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/rc/ |
H A D | lirc_dev.c | 74c839b2 Mon Jan 30 09:49:58 CST 2017 Sean Young <sean@mess.org> [media] lirc: use refcounting for lirc devices
If a lirc device is unplugged, the struct rc_dev is freed even though userspace can still have a file descriptor open on the lirc chardev. The rc_dev structure can be used in a subsequent, or even currently executing ioctl, read or write.
Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> 74c839b2 Mon Jan 30 09:49:58 CST 2017 Sean Young <sean@mess.org> [media] lirc: use refcounting for lirc devices If a lirc device is unplugged, the struct rc_dev is freed even though userspace can still have a file descriptor open on the lirc chardev. The rc_dev structure can be used in a subsequent, or even currently executing ioctl, read or write. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|