[media] [RFC] radio-mr800: locking fixes
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 17 Oct 2010 12:26:18 +0000 (09:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 23 Oct 2010 01:40:58 +0000 (23:40 -0200)
- serialize the suspend and resume functions using the global lock.
- do not call usb_autopm_put_interface after a disconnect.
- fix a race when disconnecting the device.

Reported-by: David Ellingsworth <david@identd.dyndns.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: David Ellingsworth<david@identd.dyndns.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found