aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-12-16 09:24:30 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:03:47 -0200
commit4bfae52b69360a966f41ba3308e57a6df41ff8e1 (patch)
tree55aef0e1d63f35b79d16266960418c28f9c5ae29
parent6b7daa88f23bb23f61977063e3f8ea9598e65e32 (diff)
V4L/DVB (6827): Auto-selects D2633 for ATSC
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--drivers/media/video/tuner-xc2028.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c
index 7acc175d805..fd248a19c25 100644
--- a/drivers/media/video/tuner-xc2028.c
+++ b/drivers/media/video/tuner-xc2028.c
@@ -970,7 +970,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: