linux/drivers/media/IR
Mauro Carvalho Chehab 6eb9435b87 V4L/DVB: ir: Make sure that the spinlocks are properly initialized
Some spinlocks are not properly initialized on ir core:

[  471.714132] BUG: spinlock bad magic on CPU#0, modprobe/1899
[  471.719838]  lock: f92a08ac, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[  471.727301] Pid: 1899, comm: modprobe Not tainted 2.6.33 #36
[  471.733062] Call Trace:
[  471.735537]  [<c1498793>] ? printk+0x1d/0x22
[  471.739866]  [<c12694e3>] spin_bug+0xa3/0xf0
[  471.744224]  [<c126962d>] do_raw_spin_lock+0x7d/0x160
[  471.749364]  [<f92a01ff>] ? ir_rc5_register+0x6f/0xf0 [ir_rc5_decoder]

So, use static initialization for the static spinlocks, instead of the
dynamic ones (currently used), as proposed by David Härdeman on one
of his RFC patches.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-19 12:57:01 -03:00
..
keymaps V4L/DVB: ir-core: Add support for badly-implemented hardware decoders 2010-05-19 12:56:58 -03:00
ir-functions.c V4L/DVB (13680): ir: use unsigned long instead of enum 2010-02-26 15:10:24 -03:00
ir-keytable.c V4L/DVB: ir-core: Add support for badly-implemented hardware decoders 2010-05-19 12:56:58 -03:00
ir-nec-decoder.c V4L/DVB: ir: Make sure that the spinlocks are properly initialized 2010-05-19 12:57:01 -03:00
ir-raw-event.c V4L/DVB: ir: Make sure that the spinlocks are properly initialized 2010-05-19 12:57:01 -03:00
ir-rc5-decoder.c V4L/DVB: ir: Make sure that the spinlocks are properly initialized 2010-05-19 12:57:01 -03:00
ir-sysfs.c V4L/DVB: ir-core: Make use of the new IR keymap modules 2010-05-19 12:56:50 -03:00
Kconfig V4L-DVB: ir-rc5-decoder: Add a decoder for RC-5 IR protocol 2010-05-19 12:56:56 -03:00
Makefile V4L-DVB: ir-rc5-decoder: Add a decoder for RC-5 IR protocol 2010-05-19 12:56:56 -03:00
rc-map.c V4L/DVB: ir: Make sure that the spinlocks are properly initialized 2010-05-19 12:57:01 -03:00