V4L/DVB: usbvision: remove BKL from usbvision
commit8403472f19fea7e7cec7899e998f38b899e59604
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 17 Sep 2010 18:07:28 +0000 (17 15:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:06 +0000 (21 01:06 -0200)
treef23180ec9f6610bd3b416590beabc896798ec7fa
parent1f2052539666bd8b43ed26c9b1c3687628c49ecc
V4L/DVB: usbvision: remove BKL from usbvision

Removed the BKL from usbvision.

There was an initialization bug as well where the i2c bus was registered twice.

Although when the BKL was present no oops was generated, I did run into
other i2c problems. Now that I protect against duplicate i2c registration
that bug is now gone as well.

But trying to disconnect the USB cable while someone is still using the device
still leads to a crash.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/usbvision/usbvision-i2c.c
drivers/media/video/usbvision/usbvision-video.c
drivers/media/video/usbvision/usbvision.h