[media] rc: ir-rc6-decoder: Add encode capability
authorAntti Seppälä <a.seppala@gmail.com>
Tue, 31 Mar 2015 17:48:09 +0000 (14:48 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 30 Jan 2017 15:51:34 +0000 (13:51 -0200)
commit9d974e49339dc0ad9a6fbd7438a0887d7a445e29
tree8aba49ebb51d0f6ea7571601cf68c80cb02a2e29
parente9ab364a28c7ada075d6983946c08363df9c8a63
[media] rc: ir-rc6-decoder: Add encode capability

Add the capability to encode RC-6 and RC-6A scancodes as raw events.

The Manchester modulation helper is used several times with various
timings so that RC-6 header preamble, the header, header trailing bit
and the data itself can be modulated correctly.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Cc: James Hogan <james@albanarts.com>
Cc: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/ir-rc6-decoder.c