media: dvb_frontend: add debug message for frequency intervals
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 20 Nov 2018 10:19:35 +0000 (05:19 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 23 Nov 2018 16:59:45 +0000 (11:59 -0500)
As we did an internal change inside the subsystem to always
represent min/max frequencies in Hz, add a debug message, as this
would help to discover bugs on drivers, if any.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/dvb-core/dvb_frontend.c

index 2a26f9210394656a9dc3a46ffac2061e110535bb..27a1d4a98d73e2b7014330db7fe0ed12be80f021 100644 (file)
@@ -917,6 +917,9 @@ static void dvb_frontend_get_frequency_limits(struct dvb_frontend *fe,
                         "DVB: adapter %i frontend %u frequency limits undefined - fix the driver\n",
                         fe->dvb->num, fe->id);
 
+       dprintk("frequency interval: tuner: %u...%u, frontend: %u...%u",
+               tuner_min, tuner_max, frontend_min, frontend_max);
+
        /* If the standard is for satellite, convert frequencies to kHz */
        switch (c->delivery_system) {
        case SYS_DVBS: