commit | 6d75db305b8a964bfec337ca5f3c2cd5047b9bb1 | [log] [tgz] |
---|---|---|
author | Sean Young <sean@mess.org> | Fri Sep 01 11:30:50 2017 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Wed Oct 04 15:23:50 2017 -0300 |
tree | 84488db3f7a2a0977ac668257f776a57b603eb50 | |
parent | 3c03726aaf3f99f6b08959fcb3c1c409b0c9813d [diff] |
[media] media: rc: if protocols can't be changed, don't be writable If the protocols of an rc device cannot be changed, ensure the sysfs file is not writable. This makes it possible to detect this from userspace, so ir-keytable can deal with case without giving an error. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>