dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops
authorDaniel Scheller <d.scheller@gmx.net>
Sun, 19 Mar 2017 15:26:39 +0000 (12:26 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 13:44:42 +0000 (15:44 +0200)
commit 158f0328af86a99d64073851967a02694bff987d upstream.

Fixes "w_scan -f c" complaining with

  This dvb driver is *buggy*: the symbol rate limits are undefined - please
  report to linuxtv.org)

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Acked-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/dvb-frontends/cxd2841er.c

index 5afb9c5..fd0f25e 100644 (file)
@@ -3852,7 +3852,9 @@ static struct  dvb_frontend_ops cxd2841er_t_c_ops = {
                        FE_CAN_MUTE_TS |
                        FE_CAN_2G_MODULATION,
                .frequency_min = 42000000,
-               .frequency_max = 1002000000
+               .frequency_max = 1002000000,
+               .symbol_rate_min = 870000,
+               .symbol_rate_max = 11700000
        },
        .init = cxd2841er_init_tc,
        .sleep = cxd2841er_sleep_tc,