]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[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 0f8e9622bc96d21389cf6fb6cd4e716c94b124e4..f8933cf66ebb0581381933cca51af38c5d45d62d 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;
        }