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 12:30:14 +0000 (14:30 +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 fdffb2f0ded8f6bf2bda8a677d3e4cdff2e0d3f3..107853b0fdddc8ce3d7a5d9607c8dd7cf25a387c 100644 (file)
@@ -2678,7 +2678,9 @@ static struct  dvb_frontend_ops cxd2841er_dvbt_t2_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,