From: Hans Verkuil Date: Wed, 18 Mar 2009 16:59:34 +0000 (-0300) Subject: V4L/DVB (11275): tvaudio: fix mute and s/g_tuner handling X-Git-Tag: v2.6.30-rc1~621^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fa7b9f3c0f249a4faed6c3e534917199249ead8;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed