V4L/DVB: IR/imon: protect ictx's kc and last_keycode w/spinlock
authorJarod Wilson <jarod@redhat.com>
Wed, 15 Sep 2010 18:56:03 +0000 (15:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:07 +0000 (01:06 -0200)
commit693508df9824ecc2bf308a35b58159aa2fecf91f
treee94c9218ae5a459bb19b7bb0d05d2a7799fb6c26
parenteaf2bcc923ed6c56da8f856e7dc380321433fbda
V4L/DVB: IR/imon: protect ictx's kc and last_keycode w/spinlock

Lest we get our keycodes wrong... Thus far, in practice, I've not found
it to actually matter, but its one of the issues raised in
https://bugzilla.kernel.org/show_bug.cgi?id=16351 that wasn't addressed
by converting to using native IR keydown/up functions.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/imon.c