]> git.baikalelectronics.ru Git - kernel.git/commit
[media] bttv: remove g/s_audio since there is only one audio input
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 15 Feb 2013 09:56:48 +0000 (06:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:25:12 +0000 (14:25 -0300)
commitcc7083c78a65d79acdb0555576d7e95afbc7421c
tree6f96ef299622d82793a17dcc4a97c9cc4832886a
parentb45fb39d1f08db760fa30fdbd4b24c139a1be6e2
[media] bttv: remove g/s_audio since there is only one audio input

Note that the current driver does not implement enumaudio (so apps cannot
tell that audio inputs are present), it does not set V4L2_CAP_AUDIO, nor
does it set audioset when calling ENUM_INPUT. And G_AUDIO doesn't set the
stereo flag either. So these g/s_audio ioctls are quite pointless and
misleading. Especially since some surveillance boards do not have audio
at all.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/bt8xx/bttv-driver.c