[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 6 Apr 2014 14:26:04 +0000 (11:26 -0300)
commit42f5e630e06326fa47b3ba86e572b51c36b0a3b1
treef22da87087f465a42eaeb1436bd433e35ece01dd
parentf5ef59288d161845af96b370f203623affecdbee
[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