[media] cxd2820r: wait demod lock for DVB-C too
authorAntti Palosaari <crope@iki.fi>
Sun, 15 Jan 2012 19:50:11 +0000 (16:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 16 Jan 2012 14:55:26 +0000 (12:55 -0200)
Fix yet another bug introduced be recent cxd2820r multi-frontend to
single-frontend change.

Finally, we have at least almost working picture for DVB-C too.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/cxd2820r_core.c

index b789a907c3a29156a48cb8df5b137ad4fb6ee337..372a4e70025449d657f37b2f72b3477089bc9443 100644 (file)
@@ -492,6 +492,7 @@ static enum dvbfe_search cxd2820r_search(struct dvb_frontend *fe)
        /* frontend lock wait loop count */
        switch (priv->delivery_system) {
        case SYS_DVBT:
+       case SYS_DVBC_ANNEX_A:
                i = 20;
                break;
        case SYS_DVBT2: