]> git.baikalelectronics.ru Git - kernel.git/commit
[media] m920x: avoid repeating RC state parsing at each keycode
authorAntonio Ospite <ospite@studenti.unina.it>
Mon, 10 Dec 2012 20:37:13 +0000 (17:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 18:30:07 +0000 (16:30 -0200)
commit6d3d308e048068f36fe45fec9ef6c0917b4e4308
tree4135cbfe3102388794a0853edea6faf9438fc2b2
parent396b9d1a3107866c8fd7d538121eb83de038198c
[media] m920x: avoid repeating RC state parsing at each keycode

Parsing the RC press state is invariant wrt. the keycode, take it out of
the keycode scanning loop.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb/m920x.c