summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-12-16 10:24:30 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-12-16 10:24:30 -0200
commitd2e3737abe8054b9eddb05605fa8ce035e102dac (patch)
treea82d9f1347f8d279fba8423622f9b76697ccfe29
parentcac9746a75d2e2e073e29fb681af29f3c0eb272c (diff)
downloadmediapointer-dvb-s2-d2e3737abe8054b9eddb05605fa8ce035e102dac.tar.gz
mediapointer-dvb-s2-d2e3737abe8054b9eddb05605fa8ce035e102dac.tar.bz2
Auto-selects D2633 for ATSC
From: Mauro Carvalho Chehab <mchehab@infradead.org> ATSC standard-specific firmware is D2633 on both v2.5 and v2.7. Better to auto-select this firmware, overriding ctrl.d2633. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--linux/drivers/media/video/tuner-xc2028.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c
index 745673be6..29c5faf62 100644
--- a/linux/drivers/media/video/tuner-xc2028.c
+++ b/linux/drivers/media/video/tuner-xc2028.c
@@ -985,7 +985,10 @@ static int xc2028_set_params(struct dvb_frontend *fe,
break;
case FE_ATSC:
bw = BANDWIDTH_6_MHZ;
+ /* The only ATSC firmware (at least on v2.7) is D2633,
+ so overrides ctrl->d2633 */
type |= ATSC| D2633;
+ type &= ~D2620;
break;
/* DVB-S is not supported */
default: