V4L/DVB: ir-core: prepare to add more operations for ir decoders
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Mar 2010 00:13:43 +0000 (21:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:53:00 +0000 (00:53 -0300)
commit93c312ff21b0a53e701a45741887208297646a1a
treecc17d43e5b1926228daacb4ea61d7be43f1c0c24
parent995187bed30c0545e8da88372e9807da0a85911e
V4L/DVB: ir-core: prepare to add more operations for ir decoders

Some decoders and a lirc_dev interface may need some other operations to work.
For example: IR device register/unregister and ir_keydown events may need to
be tracked.

As some operations can occur in interrupt time, and a lock is needed to prevent
un-registering a decode while decoding a key, the lock needed to be convert
into a spin lock.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-nec-decoder.c
drivers/media/IR/ir-raw-event.c
drivers/media/video/saa7134/saa7134-input.c
include/media/ir-core.h