[media] saa7134: v4l2-compliance: don't report invalid audio modes for radio
authorOndrej Zary <linux@rainbow-software.org>
Fri, 1 Feb 2013 23:01:15 +0000 (20:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 21:53:38 +0000 (18:53 -0300)
commit82456708389d6d9eb81a4479d54efa0bf7dd8bf3
treea7bd10d39747a0f6d04cc6c97cb4571b91e054dd
parentc3b3e0c5fd5ccacecf454d60c8fdc5caa96ba862
[media] saa7134: v4l2-compliance: don't report invalid audio modes for radio

Make saa7134 driver more V4L2 compliant: filter audio modes that came from
tuner - keep only MONO/STEREO in radio mode

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/saa7134/saa7134-video.c