]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
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)
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>

No differences found