summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tvp5150_reg.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-08-04 19:52:37 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-12 12:18:31 -0300
commit6c428b578b15a1dbf40832d3aeed43761940b81f (patch)
treeb0d8e964c8beb33a688daefe77cfcb90e27e4ee9 /drivers/media/video/tvp5150_reg.h
parent00c1e2167e3163d2e193644b7d768f06d2a8c279 (diff)
downloadblackbird-op-linux-6c428b578b15a1dbf40832d3aeed43761940b81f.tar.gz
blackbird-op-linux-6c428b578b15a1dbf40832d3aeed43761940b81f.zip
V4L/DVB (12376): em28xx: fix V4L2 API compliance: don't expose audio inputs for devices without it
V4L2 API (chapter 1.5) states that: Drivers must implement all input ioctls when the device has one or more inputs, all output ioctls when the device has one or more outputs. When the device has any audio inputs or outputs the driver must set the V4L2_CAP_AUDIO flag in the struct v4l2_capability returned by the VIDIOC_QUERYCAP ioctl. So, devices without audio input should return -EINVAL. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tvp5150_reg.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud