mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 19:41:54 +00:00
f2b305cd67
Disconnecting the HDPVR caused a kernel oops if lockdep was enabled. In addition, if an app still had video0 open and attempted to call ioctl when the device was already disconnected the system would crash. Move the freeing and cleanup code to the release function: that is the right place for it since you know when you get there that nobody is using the device. Also removed usb_set_intfdata: v4l2_device_register sets this already to v4l2_dev. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
hdpvr-control.c | ||
hdpvr-core.c | ||
hdpvr-i2c.c | ||
hdpvr-video.c | ||
hdpvr.h | ||
Kconfig | ||
Makefile |