summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/cxd2820r_t2.c
diff options
context:
space:
mode:
authorCrazyCat <crazycat69@narod.ru>2014-06-03 14:19:07 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-22 09:47:05 -0300
commit4d1ab185db4131695e844916a7479576179dee31 (patch)
tree094952f0b6a2bc38fba9f009ea7b686835b1d645 /drivers/media/dvb-frontends/cxd2820r_t2.c
parenta733291d6934d0663af9e7d9f2266ab87a2946cd (diff)
downloadlwn-4d1ab185db4131695e844916a7479576179dee31.tar.gz
lwn-4d1ab185db4131695e844916a7479576179dee31.zip
[media] cxd2820r: TS clock inversion in config
TS clock inversion in config. Signed-off-by: Evgeny Plehov <EvgenyPlehov@ukr.net> Reviewed-by: Antti Palosaari <crope@iki.fi> Acked-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2820r_t2.c')
-rw-r--r--drivers/media/dvb-frontends/cxd2820r_t2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/cxd2820r_t2.c b/drivers/media/dvb-frontends/cxd2820r_t2.c
index 2ba130e245b6..9c0c4f42175c 100644
--- a/drivers/media/dvb-frontends/cxd2820r_t2.c
+++ b/drivers/media/dvb-frontends/cxd2820r_t2.c
@@ -47,6 +47,7 @@ int cxd2820r_set_frontend_t2(struct dvb_frontend *fe)
{ 0x02083, 0x0a, 0xff },
{ 0x020cb, priv->cfg.if_agc_polarity << 6, 0x40 },
{ 0x02070, priv->cfg.ts_mode, 0xff },
+ { 0x02071, !priv->cfg.ts_clock_inv << 6, 0x40 },
{ 0x020b5, priv->cfg.spec_inv << 4, 0x10 },
{ 0x02567, 0x07, 0x0f },
{ 0x02569, 0x03, 0x03 },