From: Antti Palosaari Date: Sat, 1 Feb 2014 20:28:21 +0000 (-0300) Subject: [media] m88ds3103: fix bug on .set_tone() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=418a97cbcef9644e36d87140a6962d2cd4743e74;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] m88ds3103: fix bug on .set_tone() 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 Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/m88ds3103.c b/drivers/media/dvb-frontends/m88ds3103.c index b8f8df073079..2ef8ce13fb60 100644 --- a/drivers/media/dvb-frontends/m88ds3103.c +++ b/drivers/media/dvb-frontends/m88ds3103.c @@ -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;