From: Mauro Carvalho Chehab Date: Sun, 16 Dec 2007 12:24:30 +0000 (-0300) Subject: V4L/DVB (6827): Auto-selects D2633 for ATSC X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4bfae52b69360a966f41ba3308e57a6df41ff8e1;p=linux-beck.git 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 --- diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c index 7acc175d805a..fd248a19c259 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: