linux/drivers/media/video/hdpvr
Hans Verkuil f2b305cd67 V4L/DVB: hdpvr: fix disconnect sequence
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>
2010-05-19 12:58:57 -03:00
..
hdpvr-control.c V4L/DVB (12472): hdpvr-control: fix bad whitespaces 2009-09-12 12:19:02 -03:00
hdpvr-core.c V4L/DVB: hdpvr: fix disconnect sequence 2010-05-19 12:58:57 -03:00
hdpvr-i2c.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hdpvr-video.c V4L/DVB: hdpvr: fix disconnect sequence 2010-05-19 12:58:57 -03:00
hdpvr.h V4L/DVB: hdpvr: fix disconnect sequence 2010-05-19 12:58:57 -03:00
Kconfig
Makefile