linux/drivers/media/radio
Hans Verkuil 9c84d89bf1 [media] radio-mr800: fix locking order
Don't hold the lock before unregistering the device, since when the
device is unregistered the datastruct containing the lock may be freed
(if the refcount went to 0).

Also fixed the framework documentation that erroneously suggested the
wrong locking order as well.

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>
2010-10-21 01:18:15 -02:00
..
si470x V4L/DVB: radio-si470x: use unlocked ioctl 2010-10-21 01:06:12 -02:00
dsbr100.c V4L/DVB (11957): dsbr100: change radio->muted to radio->status, update suspend/resume 2009-06-16 19:07:36 -03:00
Kconfig V4L/DVB: radio_timberdale: depends on I2c 2010-02-26 15:11:02 -03:00
Makefile V4L/DVB: radio: Add radio-timb 2010-02-26 15:10:56 -03:00
radio-aimslab.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-aztech.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-cadet.c headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
radio-gemtek-pci.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
radio-gemtek.c V4L/DVB (11391): pci-isa radios: remove open and release functions 2009-04-06 21:44:30 -03:00
radio-maestro.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
radio-maxiradio.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
radio-miropcm20.c media/radio: New driver for the radio FM module on Miro PCM20 sound card 2009-11-27 13:26:23 +01:00
radio-mr800.c [media] radio-mr800: fix locking order 2010-10-21 01:18:15 -02:00
radio-rtrack2.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-sf16fmi.c V4L/DVB (13609): radio-sf16fmi: add autoprobing 2009-12-16 00:18:40 -02:00
radio-sf16fmr2.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-si4713.c V4L/DVB: radio-si4713: Release i2c adapter in driver cleanup paths 2010-10-21 01:06:20 -02:00
radio-tea5764.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
radio-terratec.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-timb.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
radio-trust.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-typhoon.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
radio-zoltrix.c V4L/DVB (13547): radio: add trivial checks on the tuner and type args. 2009-12-16 00:17:53 -02:00
saa7706h.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
si4713-i2c.c V4L/DVB: media/radio: fix copy_to_user to user handling 2010-08-02 15:28:51 -03:00
si4713-i2c.h V4L/DVB (12552): FM TX: si4713: Add files to handle si4713 i2c device 2009-09-12 12:19:20 -03:00
tef6862.c V4L/DVB: v4l: remove unused i2c-id.h headers 2010-10-21 01:06:05 -02:00