1
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
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
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
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
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
tef6862.c V4L/DVB: v4l: remove unused i2c-id.h headers 2010-10-21 01:06:05 -02:00