From: James Hogan Date: Fri, 28 Feb 2014 23:17:04 +0000 (-0300) Subject: [media] rc: add allowed/enabled wakeup protocol masks X-Git-Tag: v3.15-rc1~85^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acff5f24732acc8a55d0a0f0ee1d19442267df63;p=pandora-kernel.git [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 Reviewed-by: Antti Seppälä Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed