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
Makefile
radio-aimslab.c
radio-aztech.c
radio-cadet.c
radio-gemtek-pci.c
radio-gemtek.c
radio-maestro.c
radio-maxiradio.c
radio-miropcm20.c
radio-mr800.c [media] radio-mr800: fix locking order 2010-10-21 01:18:15 -02:00
radio-rtrack2.c
radio-sf16fmi.c
radio-sf16fmr2.c
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
radio-terratec.c
radio-timb.c
radio-trust.c
radio-typhoon.c
radio-zoltrix.c
saa7706h.c
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