summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2011-07-28 21:38:54 +0200
committerMauro Carvalho Chehab2011-08-06 14:52:47 +0200
commit9bed77ee2fb46b74782d0d9d14b92e9d07f3df6e (patch)
treee7ec7a66b448a5b11a8d0de9190754ade649b419
parent[media] v4l: Move event documentation from SUBSCRIBE_EVENT to DQEVENT (diff)
downloadkernel-qcow2-linux-9bed77ee2fb46b74782d0d9d14b92e9d07f3df6e.tar.gz
kernel-qcow2-linux-9bed77ee2fb46b74782d0d9d14b92e9d07f3df6e.tar.xz
kernel-qcow2-linux-9bed77ee2fb46b74782d0d9d14b92e9d07f3df6e.zip
[media] tuner_xc2028: Allow selection of the frequency adjustment code for XC3028
This device is not using the proper demod IF. Instead of using the IF macro, it is specifying a IF frequency. This doesn't work, as xc3028 needs to load an specific SCODE for the tuner. In this case, there's no IF table for 5 MHz. Cc: stable@kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index aa83f07b1b0f..bcb45be44bb2 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -844,7 +844,7 @@ static int dvb_register(struct cx23885_tsport *port)
static struct xc2028_ctrl ctl = {
.fname = XC3028L_DEFAULT_FIRMWARE,
.max_len = 64,
- .demod = 5000,
+ .demod = XC3028_FE_DIBCOM52,
/* This is true for all demods with
v36 firmware? */
.type = XC2028_D2633,