OSDN Git Service

[media] bcm3510: fix handling of VSB16 modulation
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 18 May 2017 11:30:20 +0000 (08:30 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 19 May 2017 10:07:43 +0000 (07:07 -0300)
There's a missing break for VSB16 modulation logic, with would
cause it to return -EINVAL, instead of handling it.

Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/bcm3510.c

index 617c5e2..30cfc0f 100644 (file)
@@ -538,6 +538,7 @@ static int bcm3510_set_frontend(struct dvb_frontend *fe)
                        cmd.ACQUIRE0.MODE = 0x9;
                        cmd.ACQUIRE1.SYM_RATE = 0x0;
                        cmd.ACQUIRE1.IF_FREQ = 0x0;
+                       break;
                default:
                        return -EINVAL;
        }