it913x-fe - correct tuner settings
PATCH 1/1 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.
TODO
Version 2 chip.
Signed-off-by Malcolm Priestley <[email protected]>
--- drivers/media/dvb/frontends/it913x-fe-priv.h | 24 +---- drivers/media/dvb/frontends/it913x-fe.c | 139 ++++++++++++++++++++------ 2 files changed, 113 insertions(+), 50 deletions(-)
drivers/media/dvb/frontends/it913x-fe-priv.h +5 -19
@@ -316,27 +316,13 @@ static struct it913xset it9137_set[] = { {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */ }; -static struct it913xset it9137_tuner[] = { - {PRO_DMOD ,0xec57 , {0x00 },0x01 }, - {PRO_DMOD ,0xec58 , {0x00 },0x01 }, - {PRO_DMOD ,0xec40 , {0x00 },0x01 }, - {PRO_DMOD ,0xec02 , {0x00 ,0x0c ,0x00 ,0x40 ,0x00 ,0x80 ,0x80 , -0x00 ,0x00 ,0x00 ,0x00 },0x0b }, - {PRO_DMOD ,0xec0d , {0x00 ,0x40 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0x00 },0x0b }, - {PRO_DMOD ,0xec19 , {0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 },0x08 }, - {PRO_DMOD ,0xec22 , {0x02 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 },0x0a }, - {PRO_DMOD ,0xec3f , {0x01 },0x01 }, -/* Clear any existing tune */ - {PRO_DMOD ,0xec4c , {0xa8 ,0x00 ,0x00 ,0x00 ,0x00 },0x05 }, - {0xff ,0x0000 , {0x00 },0x00 },/* Terminating Entry */ -}; -static struct it913xset set_it9137_template[] = { {PRO_DMOD ,0xee06 , {0x00 },0x01 }, {PRO_DMOD ,0xec56 , {0x00 },0x01 }, - {PRO_DMOD ,0xec4c , {0x00 ,0x00 ,0x00 ,0x00 ,0x00 },0x05 }, + {PRO_DMOD ,0xec4c , {0x00 },0x01 }, + {PRO_DMOD ,0xec4d , {0x00 },0x01 }, + {PRO_DMOD ,0xec4e , {0x00 },0x01 }, + {PRO_DMOD ,0xec4f , {0x00 },0x01 }, + {PRO_DMOD ,0xec50 , {0x00 },0x01 }, {0xff ,0x0000 , {0x00 },0x00 },/* Terminating Entry */ };
drivers/media/dvb/frontends/it913x-fe.c +108 -31
217 lines not on this page · raw message
Signature · 1 line
1.7.5.4