[media] rc-core: fix dib0700 scancode generation for RC5
authorDavid Härdeman <david@hardeman.nu>
Mon, 30 Mar 2015 20:51:01 +0000 (17:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 12 May 2015 21:27:25 +0000 (18:27 -0300)
commit4d298b8539ed59f1d69d3aa6e41a2c4908137612
treef915ca11a134ea74ce8518cee31fceb67fd6d981
parent8e95dba6fbdb978a1f3836331c9cc063cb57efc0
[media] rc-core: fix dib0700 scancode generation for RC5

commit af3a4a9bbeb0 ("[media] dib0700: NEC scancode cleanup") cleaned
up the NEC scancode logic but overlooked the RC5 case.

This patch brings the RC5 case in line with the NEC code and makes
the struct self-documenting.

Signed-off-by: David Härdeman <david@hardeman.nu>
Reported-by: David Cimbůrek <david.cimburek@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb/dib0700_core.c