diff mbox

[media] dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops

Message ID 20170319152639.18285-1-d.scheller.oss@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Scheller March 19, 2017, 3:26 p.m. UTC
From: Daniel Scheller <d.scheller@gmx.net>

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>
---
 drivers/media/dvb-frontends/cxd2841er.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Abylai Ospan March 21, 2017, 12:23 a.m. UTC | #1
Hello,

looks good for me.
Acked-by: Abylay Ospan <aospan@netup.ru>

2017-03-19 11:26 GMT-04:00 Daniel Scheller <d.scheller.oss@gmail.com>:
> From: Daniel Scheller <d.scheller@gmx.net>
>
> 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>
> ---
>  drivers/media/dvb-frontends/cxd2841er.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/media/dvb-frontends/cxd2841er.c b/drivers/media/dvb-frontends/cxd2841er.c
> index 614bfb3..ce37dc2 100644
> --- a/drivers/media/dvb-frontends/cxd2841er.c
> +++ b/drivers/media/dvb-frontends/cxd2841er.c
> @@ -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,
> --
> 2.10.2
>
diff mbox

Patch

diff --git a/drivers/media/dvb-frontends/cxd2841er.c b/drivers/media/dvb-frontends/cxd2841er.c
index 614bfb3..ce37dc2 100644
--- a/drivers/media/dvb-frontends/cxd2841er.c
+++ b/drivers/media/dvb-frontends/cxd2841er.c
@@ -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,