]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
media: stv0297: fix frequency range limit
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 25 Jun 2019 10:45:20 +0000 (06:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Jul 2019 06:09:46 +0000 (08:09 +0200)
commit b09a2ab2baeb36bf7ef7780405ad172281741c7c upstream.

There was a typo at the lower frequency limit for a DVB-C
card, causing the driver to fail while tuning channels at the
VHF range.

https://bugzilla.kernel.org/show_bug.cgi?id=202083

Fixes: f1b1eabff0eb ("media: dvb: represent min/max/step/tolerance freqs in Hz")
Reported-by: Ari Kohtamäki <ari.kohtamaki@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/dvb-frontends/stv0297.c

index 9a9915f7148353de94821f007799d41155c8373d..3ef31a3a27ffb6863196211bbf219ebdceef6508 100644 (file)
@@ -694,7 +694,7 @@ static const struct dvb_frontend_ops stv0297_ops = {
        .delsys = { SYS_DVBC_ANNEX_A },
        .info = {
                 .name = "ST STV0297 DVB-C",
-                .frequency_min_hz = 470 * MHz,
+                .frequency_min_hz = 47 * MHz,
                 .frequency_max_hz = 862 * MHz,
                 .frequency_stepsize_hz = 62500,
                 .symbol_rate_min = 870000,