Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285176
b: refs/heads/master
c: 2b3c13e
h: refs/heads/master
v: v3
  • Loading branch information
tvboxspy authored and Mauro Carvalho Chehab committed Nov 7, 2011
1 parent 58df616 commit e202ab2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b7d425d39179e125604cbf451a06d3204d2e1398
refs/heads/master: 2b3c13ecce3bc0fbdeb5ef0596b350dc702d01d5
4 changes: 1 addition & 3 deletions trunk/drivers/media/dvb/frontends/it913x-fe-priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ struct table {
};

static struct table fe_clockTable[] = {
{12000000, tab3}, /* FPGA */
{16384000, tab6}, /* 16.38MHz */
{12000000, tab3}, /* 12.00MHz */
{20480000, tab6}, /* 20.48MHz */
{36000000, tab3}, /* 36.00MHz */
{30000000, tab1}, /* 30.00MHz */
Expand All @@ -164,7 +163,6 @@ static struct table fe_clockTable[] = {
{34000000, tab2}, /* 34.00MHz */
{24000000, tab1}, /* 24.00MHz */
{22000000, tab8}, /* 22.00MHz */
{12000000, tab3} /* 12.00MHz */
};

/* fe get */
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/media/dvb/frontends/it913x-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ struct it913x_fe_state {
struct ite_config *config;
u8 i2c_addr;
u32 frequency;
u8 adf;
u32 crystalFrequency;
u32 adcFrequency;
u8 tuner_type;
Expand Down Expand Up @@ -698,7 +697,7 @@ static int it913x_fe_start(struct it913x_fe_state *state)
if (state->config->chip_ver == 1)
ret = it913x_init_tuner(state);

if (adf < 12) {
if (adf < 10) {
state->crystalFrequency = fe_clockTable[adf].xtal ;
state->table = fe_clockTable[adf].table;
state->adcFrequency = state->table->adcFrequency;
Expand Down Expand Up @@ -889,5 +888,5 @@ static struct dvb_frontend_ops it913x_fe_ofdm_ops = {

MODULE_DESCRIPTION("it913x Frontend and it9137 tuner");
MODULE_AUTHOR("Malcolm Priestley tvboxspy@gmail.com");
MODULE_VERSION("1.08");
MODULE_VERSION("1.09");
MODULE_LICENSE("GPL");

0 comments on commit e202ab2

Please sign in to comment.