V4L/DVB (9655): radio-mr800: fix unplug
authorAlexey Klimov <klimov.linux@gmail.com>
Wed, 19 Nov 2008 03:36:29 +0000 (00:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:05 +0000 (09:38 -0200)
This patch fixes problems(kernel oopses) with unplug of device while
it's working.
Patch adds disconnect_lock mutex, changes usb_amradio_close and
usb_amradio_disconnect functions and adds a lot of safety checks.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found