linux/drivers/media
Sean Young 72ba972c19 UPSTREAM: [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>
(cherry picked from commit 6eae57e9d5)

Change-Id: Ib722e0116fe0b590e3fb96d8c7ff1e3a384a0b55
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
2017-11-22 09:25:36 +08:00
..
cec UPSTREAM: [media] cec: initiator should be the same as the destination for, poll 2017-11-07 09:41:55 +08:00
common rk: revert to v3.10 2015-11-11 15:57:28 +08:00
dvb-core media: dvb_ringbuffer: Add memory barriers 2016-08-20 18:09:18 +02:00
dvb-frontends dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops 2017-05-25 14:30:14 +02:00
firewire
i2c media: soc_camera: add ov7675 sensor driver 2017-11-07 13:49:49 +08:00
mmc
pci ttpci: address stringop overflow warning 2017-10-08 10:14:20 +02:00
platform rockchip: vip: remove unused head-file 2017-11-15 20:37:10 +08:00
radio
rc UPSTREAM: [media] rc: unify nec32 protocol scancode format 2017-11-22 09:25:36 +08:00
tuners xc2028: Fix use-after-free bug properly 2017-05-25 14:30:15 +02:00
usb Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-11-02 17:00:07 +08:00
v4l2-core UPSTREAM: [media] v4l2: add device_caps to struct video_device 2017-11-03 10:08:47 +08:00
video rk: rm include/linux/rockchip/common.h 2017-11-17 14:55:40 +08:00
cec-edid.c UPSTREAM: [media] cec-edid: check for IEEE identifier 2017-11-06 17:49:10 +08:00
Kconfig UPSTREAM: [media] cec: move the CEC framework out of staging and to media 2017-11-06 17:50:20 +08:00
Makefile UPSTREAM: [media] cec: move the CEC framework out of staging and to media 2017-11-06 17:50:20 +08:00
media-device.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
media-devnode.c
media-entity.c