summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-dvb.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2008-09-28 07:24:44 +0200
committerMauro Carvalho Chehab2008-10-12 13:37:09 +0200
commit0975fc68719c75cbe14132c6f0dead57cd4d5210 (patch)
tree7dedb552fb9e2e8d874ca2b66cefe39406fd7737 /drivers/media/video/cx23885/cx23885-dvb.c
parentV4L/DVB (9051): dib0700: use dvb_frontend->callback for xc5000 gpio reset (diff)
downloadkernel-qcow2-linux-0975fc68719c75cbe14132c6f0dead57cd4d5210.tar.gz
kernel-qcow2-linux-0975fc68719c75cbe14132c6f0dead57cd4d5210.tar.xz
kernel-qcow2-linux-0975fc68719c75cbe14132c6f0dead57cd4d5210.zip
V4L/DVB (9055): tuner-xc2028: Do a better job selecting firmware type
Firmware selection is very tricky on this device. This patch do a better selection of the proper firmware type, by using a code to hint if the firmware to be loaded should be D2620 or D2633. It also allows overriding the hint at the control structure. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index 6c5475d7d321..24bd18327aa0 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -444,7 +444,8 @@ static int dvb_register(struct cx23885_tsport *port)
.fname = XC3028L_DEFAULT_FIRMWARE,
.max_len = 64,
.demod = 5000,
- .d2633 = 1
+ /* This is true for all demods with v36 firmware? */
+ .type = XC2028_D2633,
};
fe = dvb_attach(xc2028_attach,