summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-09-02 18:47:25 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-18 12:51:12 -0300
commitab2e06acb4ae0293add73608a49512530758edf6 (patch)
tree6fa6fbb4fb9589a8d12fb204d6af0e93d460170a /drivers/media/dvb-frontends
parentc4931055c2261a4c22520342ef209b74df7d2e91 (diff)
[media] af9013: add debug for IF frequency
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>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/af9013.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/af9013.c b/drivers/media/dvb-frontends/af9013.c
index 5bc570d7784..2dac3149175 100644
--- a/drivers/media/dvb-frontends/af9013.c
+++ b/drivers/media/dvb-frontends/af9013.c
@@ -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))