[media] af9013: add debug for IF frequency
authorAntti Palosaari <crope@iki.fi>
Sun, 2 Sep 2012 21:47:25 +0000 (18:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 Sep 2012 15:51:12 +0000 (12:51 -0300)
Used IF frequency is one of the most important parameter to know.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/af9013.c

index 5bc570d7784669df4599555525f7586f69d52a81..2dac31491755abe66362a5215c951aa2b5331599 100644 (file)
@@ -606,6 +606,8 @@ static int af9013_set_frontend(struct dvb_frontend *fe)
                else
                        if_frequency = state->config.if_frequency;
 
+               dbg("%s: if_frequency=%d", __func__, if_frequency);
+
                sampling_freq = if_frequency;
 
                while (sampling_freq > (state->config.clock / 2))