From: James Hogan Date: Tue, 31 Mar 2015 17:48:10 +0000 (-0300) Subject: [media] rc: rc-core: Add support for encode_wakeup drivers X-Git-Tag: omap-for-v4.2/fixes-rc1^2~111^2~333 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d830b2d1295fee82546d57185da5a6604f11ae2;p=pandora-kernel.git [media] rc: rc-core: Add support for encode_wakeup drivers Add support in rc-core for drivers which implement the wakeup scancode filter by encoding the scancode using the raw IR encoders. This is by way of rc_dev::encode_wakeup which should be set to true to make the allowed wakeup protocols the same as the set of raw IR encoders. As well as updating the sysfs interface to know which wakeup protocols are allowed for encode_wakeup drivers, also ensure that the IR decoders/encoders are loaded when an encode_wakeup driver is registered. Signed-off-by: James Hogan Signed-off-by: Antti Seppälä Cc: David Härdeman Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed