summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-02-01 17:28:21 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-28 18:09:49 -0300
commit418a97cbcef9644e36d87140a6962d2cd4743e74 (patch)
tree8442deb4b416765bef1ccbed76376927d1fb84f4 /drivers/media
parent30d652823de5fd7907d40e969a2d8e23938d8d03 (diff)
downloadop-kernel-dev-418a97cbcef9644e36d87140a6962d2cd4743e74.zip
op-kernel-dev-418a97cbcef9644e36d87140a6962d2cd4743e74.tar.gz
[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 <Robert.Schlabbach@gmx.net> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb-frontends/m88ds3103.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/m88ds3103.c b/drivers/media/dvb-frontends/m88ds3103.c
index b8f8df0..2ef8ce1 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;
OpenPOWER on IntegriCloud