aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/it913x-fe-priv.h
diff options
context:
space:
mode:
authortvboxspy <tvboxspy@gmail.com>2011-09-21 18:06:58 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-23 22:08:17 -0400
commit7c2808e2fd4c30a19268215c2958d4a340f057c5 (patch)
tree1f2e94c1cbcf0fe1af2a07c5d00c8a971582fb8a /drivers/media/dvb/frontends/it913x-fe-priv.h
parent2ba0f94796febc26bbb12095f6ad15c2397de474 (diff)
[media] it913x-fe: correct tuner settings
Correct tuner settings for more accuracy. This now makes the tuner section more compatible with other versions of the IT913X series. TODOs Version 2 chip Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/it913x-fe-priv.h')
-rw-r--r--drivers/media/dvb/frontends/it913x-fe-priv.h24
1 files changed, 5 insertions, 19 deletions
diff --git a/drivers/media/dvb/frontends/it913x-fe-priv.h b/drivers/media/dvb/frontends/it913x-fe-priv.h
index b80634abe62c..40e1d9b266e3 100644
--- a/drivers/media/dvb/frontends/it913x-fe-priv.h
+++ b/drivers/media/dvb/frontends/it913x-fe-priv.h
@@ -316,27 +316,13 @@ static struct it913xset it9137_set[] = {
316 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */ 316 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */
317}; 317};
318 318
319static struct it913xset it9137_tuner[] = {
320 {PRO_DMOD, 0xec57, {0x00}, 0x01},
321 {PRO_DMOD, 0xec58, {0x00}, 0x01},
322 {PRO_DMOD, 0xec40, {0x00}, 0x01},
323 {PRO_DMOD, 0xec02, { 0x00, 0x0c, 0x00, 0x40, 0x00, 0x80, 0x80,
324 0x00, 0x00, 0x00, 0x00 }, 0x0b},
325 {PRO_DMOD, 0xec0d, { 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00,
326 0x00, 0x00, 0x00, 0x00 }, 0x0b},
327 {PRO_DMOD, 0xec19, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
328 0x00, 0x00}, 0x08},
329 {PRO_DMOD, 0xec22, { 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
330 0x00, 0x00, 0x00 }, 0x0a},
331 {PRO_DMOD, 0xec3f, {0x01}, 0x01},
332 /* Clear any existing tune */
333 {PRO_DMOD, 0xec4c, {0xa8, 0x00, 0x00, 0x00, 0x00}, 0x05},
334 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */
335};
336
337static struct it913xset set_it9137_template[] = { 319static struct it913xset set_it9137_template[] = {
338 {PRO_DMOD, 0xee06, {0x00}, 0x01}, 320 {PRO_DMOD, 0xee06, {0x00}, 0x01},
339 {PRO_DMOD, 0xec56, {0x00}, 0x01}, 321 {PRO_DMOD, 0xec56, {0x00}, 0x01},
340 {PRO_DMOD, 0xec4c, {0x00, 0x00, 0x00, 0x00, 0x00}, 0x05}, 322 {PRO_DMOD, 0xec4c, {0x00}, 0x01},
323 {PRO_DMOD, 0xec4d, {0x00}, 0x01},
324 {PRO_DMOD, 0xec4e, {0x00}, 0x01},
325 {PRO_DMOD, 0xec4f, {0x00}, 0x01},
326 {PRO_DMOD, 0xec50, {0x00}, 0x01},
341 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */ 327 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */
342}; 328};