diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-02-28 20:17:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-11 13:25:49 -0300 |
commit | acff5f24732acc8a55d0a0f0ee1d19442267df63 (patch) | |
tree | 54c8b9db77a01b286c6e1dedf93cb19556448483 /include/media/tw9910.h | |
parent | 1a1934fab0c920f0d3bceeb60c9fe2dae8a56be9 (diff) | |
download | op-kernel-dev-acff5f24732acc8a55d0a0f0ee1d19442267df63.zip op-kernel-dev-acff5f24732acc8a55d0a0f0ee1d19442267df63.tar.gz |
[media] rc: add allowed/enabled wakeup protocol masks
Only a single allowed and enabled protocol mask currently exists in
struct rc_dev, however to support a separate wakeup filter protocol two
of each are needed, ideally as an array.
Therefore make both rc_dev::allowed_protos and rc_dev::enabled_protocols
arrays, update all users to reference the first element
(RC_FILTER_NORMAL), and add a couple more helper functions for drivers
to use for setting the allowed and enabled wakeup protocols.
We also rename allowed_protos to allowed_protocols while we're at it,
which is more consistent with enabled_protocols.
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>
Diffstat (limited to 'include/media/tw9910.h')
0 files changed, 0 insertions, 0 deletions