summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/bcm3510.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-18 13:30:20 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-19 12:07:43 +0200
commit17992979f6f3d3c531498e7f37bfdaf28f50848f (patch)
treea17ec2b6719c18209c0cb8f4f04ea2ee60f70041 /drivers/media/dvb-frontends/bcm3510.c
parent[media] ir-core: fix gcc-7 warning on bool arithmetic (diff)
downloadlinux-17992979f6f3d3c531498e7f37bfdaf28f50848f.tar.xz
linux-17992979f6f3d3c531498e7f37bfdaf28f50848f.zip
[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 617c5e29f919..30cfc0f2b575 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;
}