OSDN Git Service

[media] rc: add wakeup_protocols sysfs file
authorJames Hogan <james.hogan@imgtec.com>
Fri, 28 Feb 2014 23:17:05 +0000 (20:17 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 16:28:20 +0000 (13:28 -0300)
commitab88c66deace78989aa71cb139284cf7fb227ba4
tree26f8bb54eddd1fc41ba758ab5c2c70c5ca553d53
parentacff5f24732acc8a55d0a0f0ee1d19442267df63
[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>
Documentation/ABI/testing/sysfs-class-rc
Documentation/DocBook/media/v4l/remote_controllers.xml
drivers/media/rc/rc-main.c
include/media/rc-core.h