The patch which added support for 1.7MHz and 6.1 MHz has two issues: there's a missing else for 1.7 and the value for 6.1 MHz filter is decimal 10 (0x0a). Fix those. Reported-by: Robert Schlabbach <Robert.Schlabbach@xxxxxxx> Fixes: 98c65a3dac95 ("media: si2157: add support for 1.7MHz and 6.1 MHz") Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> --- drivers/media/tuners/si2157.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index 481c5c3b577d..a484239333ef 100644 --- a/drivers/media/tuners/si2157.c +++ b/drivers/media/tuners/si2157.c @@ -460,10 +460,10 @@ static int si2157_set_params(struct dvb_frontend *fe) if (SUPPORTS_1700KHz(dev) && c->bandwidth_hz <= 1700000) bandwidth = 0x09; - if (c->bandwidth_hz <= 6000000) + else if (c->bandwidth_hz <= 6000000) bandwidth = 0x06; - if (SUPPORTS_1700KHz(dev) && c->bandwidth_hz <= 6100000) - bandwidth = 0x10; + else if (SUPPORTS_1700KHz(dev) && c->bandwidth_hz <= 6100000) + bandwidth = 0x0a; else if (c->bandwidth_hz <= 7000000) bandwidth = 0x07; else if (c->bandwidth_hz <= 8000000) -- 2.33.1