Commit 81c4dfe7 authored by Devin Heitmueller's avatar Devin Heitmueller Committed by Mauro Carvalho Chehab

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: default avatarDevin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent bae7b7d7
...@@ -87,7 +87,7 @@ struct xc5000_priv { ...@@ -87,7 +87,7 @@ struct xc5000_priv {
#define XREG_SIGNALSOURCE 0x0D /* 0=Air, 1=Cable */ #define XREG_SIGNALSOURCE 0x0D /* 0=Air, 1=Cable */
#define XREG_SMOOTHEDCVBS 0x0E #define XREG_SMOOTHEDCVBS 0x0E
#define XREG_XTALFREQ 0x0F #define XREG_XTALFREQ 0x0F
#define XREG_FINERFFREQ 0x10 #define XREG_FINERFREQ 0x10
#define XREG_DDIMODE 0x11 #define XREG_DDIMODE 0x11
#define XREG_ADC_ENV 0x00 #define XREG_ADC_ENV 0x00
...@@ -395,7 +395,10 @@ static int xc_set_RF_frequency(struct xc5000_priv *priv, u32 freq_hz) ...@@ -395,7 +395,10 @@ static int xc_set_RF_frequency(struct xc5000_priv *priv, u32 freq_hz)
freq_code = (u16)(freq_hz / 15625); freq_code = (u16)(freq_hz / 15625);
return xc_write_reg(priv, XREG_RF_FREQ, freq_code); /* 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) */
return xc_write_reg(priv, XREG_FINERFREQ, freq_code);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment