path: root/include
diff options
authorSean Young <sean@mess.org>2017-09-23 17:44:03 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-14 09:58:35 -0500
commit8078af58f7994e389ea83afad54d666da401d13b (patch)
tree7ffa24fe7637c7c965dc9de108c6ab5bf1ee1f56 /include
parent6b319bb72fc9b46e09671b39e6e15596263e9649 (diff)
media: lirc: do not call close() or open() on unregistered devices
If a lirc chardev is held open after a device is unplugged, rc_close() will be called after rc_unregister_device(). The driver is not expecting any calls at this point, and the iguanair driver causes an oops in this scenario. rc_open() can be called when the device is removed too, by calling open on the chardev whilst the device is being removed. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions

Privacy Policy