diff options
author | Sean Young <sean@mess.org> | 2017-09-01 11:30:50 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2017-10-04 15:23:50 -0300 |
commit | 6d75db305b8a964bfec337ca5f3c2cd5047b9bb1 (patch) | |
tree | 84488db3f7a2a0977ac668257f776a57b603eb50 /drivers/media/usb | |
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>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions