OSDN Git Service

[media] mn88473: define symbol rate limits
authorAntti Palosaari <crope@iki.fi>
Mon, 16 Mar 2015 21:56:21 +0000 (18:56 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Apr 2015 00:54:04 +0000 (21:54 -0300)
w_scan complains about missing symbol rate limits:
This dvb driver is *buggy*: the symbol rate limits are undefined - please report to linuxtv.org

Lets add some reasonable limits in order to keep w_scan happy :)

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/mn88473/mn88473.c

index a23e59e..f98b982 100644 (file)
@@ -296,6 +296,8 @@ static struct dvb_frontend_ops mn88473_ops = {
        .delsys = {SYS_DVBT, SYS_DVBT2, SYS_DVBC_ANNEX_AC},
        .info = {
                .name = "Panasonic MN88473",
+               .symbol_rate_min = 1000000,
+               .symbol_rate_max = 7200000,
                .caps = FE_CAN_FEC_1_2                 |
                        FE_CAN_FEC_2_3                 |
                        FE_CAN_FEC_3_4                 |