[media] m88ds3103: fix bug on .set_tone()
authorAntti Palosaari <crope@iki.fi>
Sat, 1 Feb 2014 20:28:21 +0000 (17:28 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 28 Mar 2014 21:09:49 +0000 (18:09 -0300)
Band switching didn't worked always reliably as there was one
register bit set wrong.

Thanks to Robert Schlabbach for pointing this bug and solution.

Reported-by: Robert Schlabbach <Robert.Schlabbach@gmx.net>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/m88ds3103.c

index b8f8df0730799339f9b5905a160449b31da7d5e1..2ef8ce13fb602a984063a0845f9d1ce362935231 100644 (file)
@@ -944,7 +944,7 @@ static int m88ds3103_set_tone(struct dvb_frontend *fe,
        switch (fe_sec_tone_mode) {
        case SEC_TONE_ON:
                tone = 0;
-               reg_a1_mask = 0x87;
+               reg_a1_mask = 0x47;
                break;
        case SEC_TONE_OFF:
                tone = 1;