linux/drivers/media
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
..
common [media] tda18271: allow restricting max out to 4 bytes 2010-10-21 01:17:43 -02:00
dvb [media] af9015: move remote controllers to new RC core 2010-10-21 01:18:14 -02:00
IR [media] fix A-Link DTU(m) remote controller PIP button 2010-10-21 01:18:13 -02:00
radio [media] radio-mr800: fix locking order 2010-10-21 01:18:15 -02:00
video [media] em28xx-audio: fix some locking issues 2010-10-21 01:17:50 -02:00
Kconfig V4L/DVB (13612): IR: Move common IR code to drivers/media/IR 2009-12-16 00:18:42 -02:00
Makefile V4L/DVB (13612): IR: Move common IR code to drivers/media/IR 2009-12-16 00:18:42 -02:00