summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-11-19 23:06:39 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-19 09:21:24 -0200
commit92676ac92738c29a439d959964f2a89d73150333 (patch)
tree3a7e81d05380b817c142ce2aa8af59b20aa9e1b0 /drivers/media/dvb-frontends
parent39c0029e60fe72da96dabfef5b469184d2011fcd (diff)
[media] m88ds3103: fix TS mode config
TS mode was configured wrongly. Reported-by: David Howells <dhowells@redhat.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/m88ds3103.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/dvb-frontends/m88ds3103.c b/drivers/media/dvb-frontends/m88ds3103.c
index bd9effa985c0..f9d896767887 100644
--- a/drivers/media/dvb-frontends/m88ds3103.c
+++ b/drivers/media/dvb-frontends/m88ds3103.c
@@ -321,32 +321,32 @@ static int m88ds3103_set_frontend(struct dvb_frontend *fe)
case M88DS3103_TS_SERIAL:
u8tmp1 = 0x00;
ts_clk = 0;
- u8tmp = 0x04;
+ u8tmp = 0x46;
break;
case M88DS3103_TS_SERIAL_D7:
u8tmp1 = 0x20;
ts_clk = 0;
- u8tmp = 0x04;
+ u8tmp = 0x46;
break;
case M88DS3103_TS_PARALLEL:
ts_clk = 24000;
- u8tmp = 0x00;
+ u8tmp = 0x42;
break;
case M88DS3103_TS_PARALLEL_12:
ts_clk = 12000;
- u8tmp = 0x00;
+ u8tmp = 0x42;
break;
case M88DS3103_TS_PARALLEL_16:
ts_clk = 16000;
- u8tmp = 0x00;
+ u8tmp = 0x42;
break;
case M88DS3103_TS_PARALLEL_19_2:
ts_clk = 19200;
- u8tmp = 0x00;
+ u8tmp = 0x42;
break;
case M88DS3103_TS_CI:
ts_clk = 6000;
- u8tmp = 0x01;
+ u8tmp = 0x43;
break;
default:
dev_dbg(&priv->i2c->dev, "%s: invalid ts_mode\n", __func__);
@@ -355,7 +355,7 @@ static int m88ds3103_set_frontend(struct dvb_frontend *fe)
}
/* TS mode */
- ret = m88ds3103_wr_reg_mask(priv, 0xfd, u8tmp, 0x05);
+ ret = m88ds3103_wr_reg(priv, 0xfd, u8tmp);
if (ret)
goto err;