[media] rc5x: 6th command bit is S2 bit
authorSean Young <sean@mess.org>
Fri, 2 Dec 2016 17:16:13 +0000 (15:16 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 30 Jan 2017 14:09:38 +0000 (12:09 -0200)
commitfd844d905d1ba13326f59835f77a4827076fdcac
tree433333fe5101c6162d9b46995e1e1344c12f5a04
parent56a6036c5fcb784290edde050baacddb168f4a33
[media] rc5x: 6th command bit is S2 bit

The 2nd stop bit in rc5 is reused as an inverted 6th command bit in
20 bits rc5x. Currently the rc5x decoder sets the 6th command bit as
an inverted duplicate of the lowest system bit; as a result we do
not have all the command bits.

Note that there are no rc5x keymaps present.

Signed-off-by: Sean Young <sean@mess.org>
Cc: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/ir-rc5-decoder.c