[media] mn88472: define symbol rate limits
authorAntti Palosaari <crope@iki.fi>
Mon, 16 Mar 2015 22:01:53 +0000 (19:01 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Apr 2015 00:54:20 +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/mn88472/mn88472.c

index bfb3e447773afd862907cb4926f1cdab52d2df71..44edcf652223de3de0b5394aaab8fb0dde63f454 100644 (file)
@@ -377,6 +377,8 @@ static struct dvb_frontend_ops mn88472_ops = {
        .delsys = {SYS_DVBT, SYS_DVBT2, SYS_DVBC_ANNEX_A},
        .info = {
                .name = "Panasonic MN88472",
+               .symbol_rate_min = 1000000,
+               .symbol_rate_max = 7200000,
                .caps = FE_CAN_FEC_1_2                 |
                        FE_CAN_FEC_2_3                 |
                        FE_CAN_FEC_3_4                 |