summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/bcm3510.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-18 08:30:20 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-19 07:07:43 -0300
commit17992979f6f3d3c531498e7f37bfdaf28f50848f (patch)
treea17ec2b6719c18209c0cb8f4f04ea2ee60f70041 /drivers/media/dvb-frontends/bcm3510.c
parentbd7e31bbade02bc1e92aa00d5cf2cee2da66838a (diff)
downloadop-kernel-dev-17992979f6f3d3c531498e7f37bfdaf28f50848f.zip
op-kernel-dev-17992979f6f3d3c531498e7f37bfdaf28f50848f.tar.gz
[media] bcm3510: fix handling of VSB16 modulation
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>
Diffstat (limited to 'drivers/media/dvb-frontends/bcm3510.c')
-rw-r--r--drivers/media/dvb-frontends/bcm3510.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/bcm3510.c b/drivers/media/dvb-frontends/bcm3510.c
index 617c5e2..30cfc0f 100644
--- a/drivers/media/dvb-frontends/bcm3510.c
+++ b/drivers/media/dvb-frontends/bcm3510.c
@@ -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;
}
OpenPOWER on IntegriCloud