From: Mauro Carvalho Chehab Date: Thu, 18 May 2017 11:30:20 +0000 (-0300) Subject: [media] bcm3510: fix handling of VSB16 modulation X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~7501^2~336 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=17992979f6f3d3c531498e7f37bfdaf28f50848f;p=mirror_ubuntu-focal-kernel.git [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 --- 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; }