[media] 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)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 18 Apr 2017 15:10:42 +0000 (12:10 -0300)
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>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/cxd2841er.c

index 614bfb3..ce37dc2 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,