]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
[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)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 4 Jul 2015 03:02:14 +0000 (23:02 -0400)
commitf5ef1e8cd9a703dcdc0c34aac0898e6d112a9a6e
tree1f7b3e654750182ecbee45b6c13c5a77fb9ebc83
parent0d42095979b0978ecc4ce24179db9c667008e51c
[media] rc-core: fix dib0700 scancode generation for RC5

[ Upstream commit 4d298b8539ed59f1d69d3aa6e41a2c4908137612 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/media/usb/dvb-usb/dib0700_core.c