linux/Documentation
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
..
ABI
DocBook V4L/DVB: V4L Doc: removed duplicate link 2010-10-21 01:05:57 -02:00
PCI
RCU
accounting
acpi ACPI: introduce module parameter acpi.aml_debug_output 2010-08-14 23:02:14 -04:00
aoe
arm
auxdisplay
blackfin
block cfq-iosched: Documentation help for new tunables 2010-08-23 12:25:29 +02:00
blockdev
cdrom
cgroups cfq-iosched: Documentation help for new tunables 2010-08-23 12:25:29 +02:00
connector
console
cpu-freq
cpuidle
cris
crypto
development-process
device-mapper
driver-model
dvb V4L/DVB: Support or LME2510(C) DM04/QQBOX USB DVB-S BOXES 2010-10-21 01:04:54 -02:00
early-userspace
fault-injection
fb
filesystems bkl: Remove locked .ioctl file operation 2010-08-14 00:24:24 +02:00
firmware_class
frv
hwmon hwmon: (adm1031) Replace update_rate sysfs attribute with update_interval 2010-09-17 17:24:14 +02:00
i2c i2c: Add support for custom probe function 2010-08-11 18:20:56 +02:00
i2o
ia64
ide
infiniband
input
ioctl V4L/DVB: Documentation: update now that the vtx/videotext API has been removed 2010-10-21 01:05:48 -02:00
isdn
ja_JP
kbuild kbuild: drop unifdef-y support 2010-08-14 22:26:52 +02:00
kdump
ko_KR
kvm
laptops thinkpad-acpi: untangle ACPI/vendor backlight selection 2010-08-16 11:54:50 -04:00
lguest lguest: clean up warnings in demonstration launcher. 2010-08-27 08:39:51 +09:30
m68k
make
mips
misc-devices
mmc mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
mn10300
mtd
namespaces
netlabel
networking e1000e.txt: Add e1000e documentation 2010-10-05 13:28:07 -07:00
parisc
pcmcia
power regulator: Update e-mail address for Liam Girdwood 2010-09-01 12:59:34 +01:00
powerpc Documentation: fix ozlabs.org mailing list address 2010-08-20 09:55:41 -07:00
pps
prctl
s390
scheduler
scsi Documentation: move SCSI parameters to their own text file 2010-08-14 16:20:59 -07:00
serial
sh
sound ALSA: hda - Add a new hp-laptop model for Conexant 5066, tested on HP G60 2010-09-02 11:49:17 +02:00
sparc
spi
sysctl
telephony
thermal
timers
trace
uml
usb
video4linux [media] radio-mr800: fix locking order 2010-10-21 01:18:15 -02:00
vm page-types.c: fix name of unpoison interface 2010-10-07 09:41:24 +02:00
w1
watchdog
wimax
x86
zh_CN
.gitignore
00-INDEX mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
BUG-HUNTING
Changes
CodingStyle
DMA-API-HOWTO.txt Documentation: DMA-API-HOWTO.txt: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN 2010-08-14 11:56:46 -07:00
DMA-API.txt dma-mapping: remove dma_is_consistent API 2010-08-11 08:59:21 -07:00
DMA-ISA-LPC.txt
DMA-attributes.txt
HOWTO
IPMI.txt
IRQ-affinity.txt
IRQ.txt
Intel-IOMMU.txt
Makefile
ManagementStyle
SAK.txt
SELinux.txt
SM501.txt
SecurityBugs
Smack.txt
SubmitChecklist
SubmittingDrivers
SubmittingPatches
VGA-softcursor.txt
apparmor.txt
applying-patches.txt
atomic_ops.txt
bad_memory.txt
basic_profiling.txt
binfmt_misc.txt
braille-console.txt
bt8xxgpio.txt
btmrvl.txt
bus-virt-phys-mapping.txt
cachetlb.txt
circular-buffers.txt
coccinelle.txt
cpu-hotplug.txt documentation: fix erroneous email address. 2010-08-11 23:04:10 +09:30
cpu-load.txt
cputopology.txt
credentials.txt
dcdbas.txt
debugging-modules.txt
debugging-via-ohci1394.txt
dell_rbu.txt
devices.txt devices.txt: Remove the old obsolete vtx device nodes 2010-10-21 01:05:49 -02:00
dmaengine.txt
dontdiff
dynamic-debug-howto.txt
edac.txt
eisa.txt
email-clients.txt
feature-removal-schedule.txt V4L/DVB: Deprecate stradis driver 2010-10-21 01:06:13 -02:00
flexible-arrays.txt
futex-requeue-pi.txt
gcov.txt
gpio.txt gpio: doc updates 2010-09-09 18:57:24 -07:00
highuid.txt
hw_random.txt
init.txt
initrd.txt
intel_txt.txt
io-mapping.txt
io_ordering.txt
iostats.txt
irqflags-tracing.txt
isapnp.txt
java.txt
kernel-doc-nano-HOWTO.txt docbook: warn on unused doc entries 2010-09-11 16:49:21 -07:00
kernel-docs.txt
kernel-parameters.txt Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2010-09-07 16:00:17 -07:00
keys-request-key.txt
keys.txt
kmemcheck.txt
kmemleak.txt
kobject.txt
kprobes.txt
kref.txt
ldm.txt
leds-class.txt
leds-lp3944.txt
local_ops.txt
lockdep-design.txt
lockstat.txt
logo.gif
logo.txt
magic-number.txt
mca.txt
md.txt
memory-barriers.txt
memory-hotplug.txt
memory.txt
mono.txt
mutex-design.txt mutex: Fix annotations to include it in kernel-locking docbook 2010-09-03 08:19:51 +02:00
nmi_watchdog.txt
nommu-mmap.txt
numastat.txt
oops-tracing.txt
padata.txt Documentation/padata.txt: fix typos etc. 2010-08-11 08:59:18 -07:00
parport-lowlevel.txt
parport.txt
pi-futex.txt
pnp.txt
preempt-locking.txt
printk-formats.txt
prio_tree.txt
rbtree.txt
rfkill.txt
robust-futex-ABI.txt
robust-futexes.txt
rt-mutex-design.txt
rt-mutex.txt
rtc.txt
serial-console.txt
sgi-ioc4.txt
sgi-visws.txt
sparse.txt
spinlocks.txt
stable_api_nonsense.txt
stable_kernel_rules.txt
svga.txt
sysfs-rules.txt
sysrq.txt
tomoyo.txt
unaligned-memory-access.txt
unicode.txt
unshare.txt
vgaarbiter.txt
video-output.txt
volatile-considered-harmful.txt
workqueue.txt workqueue: add documentation 2010-09-13 10:26:52 +02:00
zorro.txt