[media] r820t: Fix hp_cor filter mask
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 11 Apr 2013 18:47:53 +0000 (15:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 17 Apr 2013 00:38:18 +0000 (21:38 -0300)
The bit mask was inverted here.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Antti Palosaari <crope@iki.fi>
drivers/media/tuners/r820t.c

index f5a5fb0..c644e90 100644 (file)
@@ -1102,7 +1102,7 @@ static int r820t_set_tv_standard(struct r820t_priv *priv,
                return rc;
 
        /* Set BW, Filter_gain, & HP corner */
-       rc = r820t_write_reg_mask(priv, 0x0b, hp_cor, 0x10);
+       rc = r820t_write_reg_mask(priv, 0x0b, hp_cor, 0xef);
        if (rc < 0)
                return rc;