[media] tvaudio: fix two tea6420 errors
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 10 Sep 2012 14:06:57 +0000 (11:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 20:03:44 +0000 (18:03 -0200)
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>
drivers/media/i2c/tvaudio.c

index d5cd2eb9555865dcb9c83cd97a8f9bd1180ea02d..df6aaa5fbdec2d33fb5b4cbb01b6860bca5cdb0c 100644 (file)
@@ -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",