diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-01-16 17:03:28 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-19 16:46:14 +0300 |
commit | c959acfddb3d24ecfdae1a280a7a1785d9df81d1 (patch) | |
tree | b8ead8b3c9e3720c0bbcabaa06f68c85805c219e /drivers/tty/tty_port.c | |
parent | 4999e27a62eaf28e88bc69ab8cf11697e0dda261 (diff) | |
download | linux-c959acfddb3d24ecfdae1a280a7a1785d9df81d1.tar.xz |
[media] v4l2-ctrls: fix missing 'read-only' check
VIDIOC_S_CTRL did not check against read-only controls. Even worse, for
controls of type CTRL_CLASS it would cause a kernel oops since those controls
do not have a s_ctrl op.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/tty/tty_port.c')
0 files changed, 0 insertions, 0 deletions