V4L/DVB (8804): s5h1411: Enable QAM_AUTO mode
authorSteven Toth <stoth@hauppauge.com>
Wed, 3 Sep 2008 20:12:12 +0000 (17:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 3 Sep 2008 21:37:20 +0000 (18:37 -0300)
If apps pass QAM_AUTO then we need to obey it.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/s5h1411.c

index cff360ce1ba3f22bddbd4e051c51ae997a8bb595..763ac102c9c73ea96e4dfde74a127950b5acf440 100644 (file)
@@ -488,6 +488,7 @@ static int s5h1411_enable_modulation(struct dvb_frontend *fe,
                break;
        case QAM_64:
        case QAM_256:
+       case QAM_AUTO:
                dprintk("%s() QAM_AUTO (64/256)\n", __func__);
                s5h1411_set_if_freq(fe, state->config->qam_if);
                s5h1411_writereg(state, S5H1411_I2C_TOP_ADDR, 0x00, 0x0171);