[media] tda18271c2dd: fix support for DVB-C
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 17:34:51 +0000 (15:34 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 17:34:51 +0000 (15:34 -0200)
As reported by Hartmut <e9hack@googlemail.com>:

> A break is missing before the default statement. Delivery systems for DVB-C result always
> in an error.

Reported-by: Hartmut <e9hack@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/tda18271c2dd.c

index 0f8e962..f8933cf 100644 (file)
@@ -1159,6 +1159,7 @@ static int set_params(struct dvb_frontend *fe,
                        Standard = HF_DVBC_7MHZ;
                else
                        Standard = HF_DVBC_8MHZ;
+               break;
        default:
                return -EINVAL;
        }