diff options
author | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2007-11-19 01:55:45 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:02:21 -0500 |
commit | 794604c3efb511b74fb664af72c5dd7046e91075 (patch) | |
tree | 4f3ac779e68aa4e166cf6343f3d501a1e602a714 /drivers/media/dvb/frontends/zl10353_priv.h | |
parent | 58d834ea89664b41e6e21ed2d8dc5680d0dd76b6 (diff) |
V4L/DVB (6630): zl10353: calculate input frequency register instead of using hardcoded value
Now we know the zl10353's correct ADC clock, we can calculate the input
frequency registers correctly instead of just blindly setting them.
Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/zl10353_priv.h')
-rw-r--r-- | drivers/media/dvb/frontends/zl10353_priv.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/zl10353_priv.h b/drivers/media/dvb/frontends/zl10353_priv.h index 42855dfe31a7..fcad9221945e 100644 --- a/drivers/media/dvb/frontends/zl10353_priv.h +++ b/drivers/media/dvb/frontends/zl10353_priv.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for Zarlink DVB-T ZL10353 demodulator | 2 | * Driver for Zarlink DVB-T ZL10353 demodulator |
3 | * | 3 | * |
4 | * Copyright (C) 2006 Christopher Pascoe <c.pascoe@itee.uq.edu.au> | 4 | * Copyright (C) 2006, 2007 Christopher Pascoe <c.pascoe@itee.uq.edu.au> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
@@ -16,7 +16,7 @@ | |||
16 | * | 16 | * |
17 | * You should have received a copy of the GNU General Public License | 17 | * You should have received a copy of the GNU General Public License |
18 | * along with this program; if not, write to the Free Software | 18 | * along with this program; if not, write to the Free Software |
19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.= | 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #ifndef _ZL10353_PRIV_ | 22 | #ifndef _ZL10353_PRIV_ |
@@ -48,6 +48,8 @@ enum zl10353_reg_addr { | |||
48 | RS_UBC_0 = 0x15, | 48 | RS_UBC_0 = 0x15, |
49 | TRL_NOMINAL_RATE_1 = 0x65, | 49 | TRL_NOMINAL_RATE_1 = 0x65, |
50 | TRL_NOMINAL_RATE_0 = 0x66, | 50 | TRL_NOMINAL_RATE_0 = 0x66, |
51 | INPUT_FREQ_1 = 0x6C, | ||
52 | INPUT_FREQ_0 = 0x6D, | ||
51 | TUNER_GO = 0x70, | 53 | TUNER_GO = 0x70, |
52 | FSM_GO = 0x71, | 54 | FSM_GO = 0x71, |
53 | CHIP_ID = 0x7F, | 55 | CHIP_ID = 0x7F, |