[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@osg.samsung.com>
Thu, 14 May 2015 17:17:03 +0000 (14:17 -0300)
commit9869da5bacc5c9b865a183bd36c04be76cdd325d
tree8e88c886f8da2a61542ad803bdd3139587e9e34a
parentf7e5a6559640dfac9d96bee74d02066a28107aef
[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 filter 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>
Cc: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/rc-core-priv.h
drivers/media/rc/rc-ir-raw.c
include/media/rc-core.h