upstream: [media] rc: add wakeup_protocols sysfs file
authorJames Hogan <james.hogan@imgtec.com>
Fri, 28 Feb 2014 23:17:05 +0000 (20:17 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:58:50 +0000 (11:58 +0900)
commit96f664de9e9d18fa323fc3029bec80fcd20bce7d
tree18cdab842393ad5eff7eec964c9136ee296877a4
parentdd45246afcc671d7ad9c7344382704b283f11d94
upstream: [media] rc: add wakeup_protocols sysfs file

Add a wakeup_protocols sysfs file which controls the new
rc_dev::enabled_protocols[RC_FILTER_WAKEUP], which is the mask of
protocols that are used for the wakeup filter.

A new RC driver callback change_wakeup_protocol() is called to change
the wakeup protocol mask.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Conflicts:
Documentation/ABI/testing/sysfs-class-rc
Documentation/DocBook/media/v4l/remote_controllers.xml
drivers/media/rc/rc-main.c
include/media/rc-core.h