V4L/DVB (6827): Auto-selects D2633 for ATSC
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 16 Dec 2007 12:24:30 +0000 (09:24 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:47 +0000 (19:03 -0200)
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>
drivers/media/video/tuner-xc2028.c

index 7acc175d805a198f89a2f6ab087f702e79f0f4ca..fd248a19c259b89e939d3574c447d0084f9fa63f 100644 (file)
@@ -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: