diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-05-10 08:16:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-14 14:17:52 +0200 |
commit | 6539799599f50e9ce36da784ee0f545540a9732c (patch) | |
tree | c7582159cab3b4293c8440c48000404b916ecc45 /security/lsm_audit.c | |
parent | [media] v4l2-dev/ioctl: determine the valid ioctls upfront (diff) | |
download | linux-6539799599f50e9ce36da784ee0f545540a9732c.tar.xz linux-6539799599f50e9ce36da784ee0f545540a9732c.zip |
[media] tea575x-tuner: mark VIDIOC_S_HW_FREQ_SEEK as an invalid ioctl
The tea575x-tuner framework can support the VIDIOC_S_HW_FREQ_SEEK for only
some of the tea575x-based boards. Mark this ioctl as invalid if the board
doesn't support it.
This fixes an issue with S_HW_FREQ_SEEK in combination with priority handling:
since the priority check is done first it could return -EBUSY, even though
calling the S_HW_FREQ_SEEK ioctl would return -ENOTTY. It should always return
ENOTTY in such a case.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'security/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions