summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/af9033.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-03-07 04:03:06 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 23:00:01 +0100
commit463c399c2a8a9a465ebc17524a14616a49106689 (patch)
treefca5ecbc79320eeb0d7e58570f72e278cc6b4639 /drivers/media/dvb-frontends/af9033.c
parent[media] it913x: use dev_foo() logging (diff)
downloadlinux-463c399c2a8a9a465ebc17524a14616a49106689.tar.xz
linux-463c399c2a8a9a465ebc17524a14616a49106689.zip
[media] af9033: add IT9135 demod reg init tables
Dumped out from Windows driver version 12.07.06.1, 07/06/2012. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/af9033.c')
-rw-r--r--drivers/media/dvb-frontends/af9033.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/af9033.c b/drivers/media/dvb-frontends/af9033.c
index f51022817fed..23690aa36460 100644
--- a/drivers/media/dvb-frontends/af9033.c
+++ b/drivers/media/dvb-frontends/af9033.c
@@ -297,10 +297,14 @@ static int af9033_init(struct dvb_frontend *fe)
case AF9033_TUNER_IT9135_38:
case AF9033_TUNER_IT9135_51:
case AF9033_TUNER_IT9135_52:
+ len = ARRAY_SIZE(ofsm_init_it9135_v1);
+ init = ofsm_init_it9135_v1;
+ break;
case AF9033_TUNER_IT9135_60:
case AF9033_TUNER_IT9135_61:
case AF9033_TUNER_IT9135_62:
- len = 0;
+ len = ARRAY_SIZE(ofsm_init_it9135_v2);
+ init = ofsm_init_it9135_v2;
break;
default:
len = ARRAY_SIZE(ofsm_init);