[media] rc: rc-ir-raw: Add scancode encoder callback
authorJames Hogan <james@albanarts.com>
Tue, 31 Mar 2015 17:48:06 +0000 (14:48 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 30 Jan 2017 15:46:55 +0000 (13:46 -0200)
commit3875233d0b42c6d194657735d1a4b6a8797bfaaa
tree28e9c1795fc98216881977a0c654d1252b220c0b
parent8c34b5c4c82e060de0d8bbf26b978c68bffe5a18
[media] rc: rc-ir-raw: Add scancode encoder callback

Add a callback to raw ir handlers for encoding and modulating a scancode
to a set of raw events. This could be used for transmit, or for
converting a wakeup scancode to a form that is more suitable for raw
hardware wake up filters.

Signed-off-by: James Hogan <james@albanarts.com>
Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
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/rc-core-priv.h
drivers/media/rc/rc-ir-raw.c
include/media/rc-core.h