aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2009-04-02 21:40:29 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 17:21:06 -0400
commit81c4dfe7764abc0c859cc0ab2d7cf54dbb36487a (patch)
tree44c5ee881710e7c4b179d67dc4e2c85b93370c35 /drivers/media/common
parentbae7b7d73da0e42169aeb7c697e2c9549929300b (diff)
V4L/DVB (11796): xc5000: start using the newer "finerfreq" tuning command
Starting in firmware version 1.1.44, Xceive recommends using the FINERFREQ for all normal tuning (the doc indicates reg 0x03 should only be used for fast scanning for channel lock) Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/tuners/xc5000.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c
index 8d3e31b6effc..172be68b3b55 100644
--- a/drivers/media/common/tuners/xc5000.c
+++ b/drivers/media/common/tuners/xc5000.c
@@ -87,7 +87,7 @@ struct xc5000_priv {
87#define XREG_SIGNALSOURCE 0x0D /* 0=Air, 1=Cable */ 87#define XREG_SIGNALSOURCE 0x0D /* 0=Air, 1=Cable */
88#define XREG_SMOOTHEDCVBS 0x0E 88#define XREG_SMOOTHEDCVBS 0x0E
89#define XREG_XTALFREQ 0x0F 89#define XREG_XTALFREQ 0x0F
90#define XREG_FINERFFREQ 0x10 90#define XREG_FINERFREQ 0x10
91#define XREG_DDIMODE 0x11 91#define XREG_DDIMODE 0x11
92 92
93#define XREG_ADC_ENV 0x00 93#define XREG_ADC_ENV 0x00
@@ -395,7 +395,10 @@ static int xc_set_RF_frequency(struct xc5000_priv *priv, u32 freq_hz)
395 395
396 freq_code = (u16)(freq_hz / 15625); 396 freq_code = (u16)(freq_hz / 15625);
397 397
398 return xc_write_reg(priv, XREG_RF_FREQ, freq_code); 398 /* Starting in firmware version 1.1.44, Xceive recommends using the
399 FINERFREQ for all normal tuning (the doc indicates reg 0x03 should
400 only be used for fast scanning for channel lock) */
401 return xc_write_reg(priv, XREG_FINERFREQ, freq_code);
399} 402}
400 403
401 404