linux-stable/drivers/media
Sean Young 6eae57e9d5 [media] rc: unify nec32 protocol scancode format
There are two different encodings used for nec32:
 - The ir-nec-decoder.c decoder treats it as 32 bit msb first.
 - The img-ir decoder/encoder, winbond wakeup, dib0700, ir-ctl userspace,
   treat nec32 analogous to necx and nec: 4 bytes, each lsb first. So this
   format reverses the 4 bytes.

There are arguments to be had for both formats, but we should not use
different formats in different parts of the kernel. Selecting the second
format introduces the least code churn. It does mean that the TiVo keymap
needs updating.

This change was submitted before as "18bc174 [media] media: rc: change
32bit NEC scancode format", which was reverted because it was unclear
what scancode rc drivers produce. There are now more examples of drivers
which produce nec32 in lsb format.

The TiVo keymap is verified against the Nero Liquid TiVo remote. The
keymap is not for the Tivo DVR remote, which uses rc-5.

Signed-off-by: Sean Young <sean@mess.org>
Cc: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-01-30 12:17:19 -02:00
..
cec [media] cec: fix race between configuring and unconfiguring 2016-12-21 07:03:27 -02:00
common [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dvb-core [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dvb-frontends [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mmc
pci [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
platform [media] xilinx: Use a local media device pointer instead 2017-01-30 11:35:02 -02:00
radio [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
rc [media] rc: unify nec32 protocol scancode format 2017-01-30 12:17:19 -02:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
usb [media] em28xx: IR protocol not reported correctly 2017-01-30 12:04:13 -02:00
v4l2-core [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
cec-edid.c
Kconfig [media] Kconfig: fix breakages when DVB_CORE is not selected 2016-11-18 17:59:17 -02:00
Makefile [media] cec: move the CEC framework out of staging and to media 2016-11-16 15:40:20 -02:00
media-device.c [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
media-devnode.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
media-entity.c [media] media: entity: Add debug information to graph walk 2017-01-30 11:33:26 -02:00