summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/tvaudio.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-10 18:06:57 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-06 00:03:44 +0400
commit71df09bc67f08844a8af4f48966d3bb550a0fb59 (patch)
tree310d3cebd8224e559928c5c3a9425ef0b409b444 /drivers/media/i2c/tvaudio.c
parenta346caacf31907085e8425bdab7cf5147545439e (diff)
downloadlinux-71df09bc67f08844a8af4f48966d3bb550a0fb59.tar.xz
[media] tvaudio: fix two tea6420 errors
The inputmask for the tea6420 wasn't set and the wrong mute register value was used. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c/tvaudio.c')
-rw-r--r--drivers/media/i2c/tvaudio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/i2c/tvaudio.c b/drivers/media/i2c/tvaudio.c
index d5cd2eb95558..df6aaa5fbdec 100644
--- a/drivers/media/i2c/tvaudio.c
+++ b/drivers/media/i2c/tvaudio.c
@@ -1617,7 +1617,8 @@ static struct CHIPDESC chiplist[] = {
.inputreg = -1,
.inputmap = { TEA6420_S_SA, TEA6420_S_SB, TEA6420_S_SC },
- .inputmute = TEA6300_S_GMU,
+ .inputmute = TEA6420_S_GMU,
+ .inputmask = 0x07,
},
{
.name = "tda8425",