]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (11275): tvaudio: fix mute and s/g_tuner handling
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 18 Mar 2009 16:59:34 +0000 (13:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:46 +0000 (12:43 -0300)
commit29bef5d79f738b6454ab52c85f2e072297e91b9f
tree3346ea4654c5dfb971c3f6509869e154b60d6576
parentff99294b56c706866d9dcf6f8e527b1bce9e576a
V4L/DVB (11275): tvaudio: fix mute and s/g_tuner handling

The mute control depends on CHIP_HAS_INPUTSEL, so test for that first.

The s/g_tuner code should check whether getmode/setmode is set at the
beginning instead of filling in the struct and discovering at
the end that this chip doesn't implement audiomodes after all (i.e. is
a simple muxer chip).

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tvaudio.c