[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)
commit7a7ef4657e84b5038eace08a1db5b480854c893e
tree4135cbfe3102388794a0853edea6faf9438fc2b2
parentf526e9e1dcb65c8967c61bbfa72933f4553958ee
[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