diff options
author | Sean Young <sean@mess.org> | 2018-11-04 11:12:09 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-11-22 19:33:24 +0100 |
commit | 8e782fcf78275f505194e767c515202d4fd274bc (patch) | |
tree | 61e03f7ed3d1b206976bc43cc9c8b30def235935 /drivers/ptp | |
parent | media: rc: imon: replace strcpy() by strscpy() (diff) | |
download | linux-8e782fcf78275f505194e767c515202d4fd274bc.tar.xz linux-8e782fcf78275f505194e767c515202d4fd274bc.zip |
media: rc: ensure close() is called on rc_unregister_device
If userspace has an open file descriptor on the rc input device or lirc
device when rc_unregister_device() is called, then the rc close() is
never called.
This ensures that the receiver is turned off on the nuvoton-cir driver
during shutdown.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions