]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 27 Jun 2019 11:33:09 +0000 (07:33 -0400)
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>
drivers/media/dvb-frontends/stv0297.c

index dac396c95a59d49d3260f0cd3ae12b5d262f8ec2..6d5962d5697ac95e94ba1507075614bd27e8cea3 100644 (file)
@@ -682,7 +682,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,