upstream: [media] rc-core: do not change 32bit NEC scancode format for now
authorDavid Härdeman <david@hardeman.nu>
Fri, 4 Apr 2014 22:05:56 +0000 (19:05 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:37 +0000 (14:26 +0900)
commit5b0978ee9c451b0b08620e5fb389826d8d3ffa31
tree223381f2fc576b6eb7f89ae74f56d258a14386dd
parent89b734e8069496ae65e1c2e35ac79bf6057bdc03
upstream: [media] rc-core: do not change 32bit NEC scancode format for now

This reverts 18bc17448147e93f31cc9b1a83be49f1224657b2 and changes
the code at img-ir-nec.c to use the order used by the other NEC decoders.

The original patch ignored the fact that NEC32 scancodes are generated not
only in the NEC raw decoder but also directly in some drivers. Whichever
approach is chosen it should be consistent across drivers and this patch
needs more discussion.

Furthermore, I'm convinced that we have to stop playing games trying to
decipher the "meaning" of NEC scancodes (what's the customer/vendor/address,
which byte is the MSB, etc).

Signed-off-by: David Härdeman <david@hardeman.nu>
Acked-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/img-ir/img-ir-nec.c
drivers/media/rc/ir-nec-decoder.c
drivers/media/rc/keymaps/rc-tivo.c