summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx23885
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-09-28 02:24:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-28 02:24:44 -0300
commit107d0d97f883f98538efc7e803c7a25b18be32fe (patch)
treec7a4dbe51fff0aaf130fa619c91a37d140721023 /linux/drivers/media/video/cx23885
parentc20af2106a755d11b45e19ade56a98fa8bf6ca29 (diff)
downloadmediapointer-dvb-s2-107d0d97f883f98538efc7e803c7a25b18be32fe.tar.gz
mediapointer-dvb-s2-107d0d97f883f98538efc7e803c7a25b18be32fe.tar.bz2
tuner-xc2028: Do a better job selecting firmware type
From: Mauro Carvalho Chehab <mchehab@redhat.com> 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. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx23885')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-dvb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-dvb.c b/linux/drivers/media/video/cx23885/cx23885-dvb.c
index 78dfb13ca..1909ef6e3 100644
--- a/linux/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/linux/drivers/media/video/cx23885/cx23885-dvb.c
@@ -445,7 +445,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,