diff options
author | Frank Schaefer <fschaefer.oss@googlemail.com> | 2014-01-12 13:24:22 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-14 14:31:56 -0200 |
commit | f188da4395b85698d1a55e9fb278ea7e629fbe96 (patch) | |
tree | d23e73f3e5b73c7cbdc0ec62d0a0a2c8ed404997 /kernel/hrtimer.c | |
parent | 25dd1652331644701a90462782ece6d0d3edf7d0 (diff) |
[media] em28xx-v4l: move v4l2_ctrl_handler freeing and v4l2_device unregistration to em28xx_v4l2_fini
v4l2_ctrl_handler_free() and v4l2_device_unregister() are currently only called
when the last user closes the device and the device is already disconnected.
But that's wrong, we need to call these functions whenever the em28xx-v4l
extension is closed and we can already do this if the device is still opened
by some users.
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions