diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-01-08 22:34:30 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:04:44 -0500 |
commit | cf04d29c4868a783b3e994e4a19f78ce22ba2d93 (patch) | |
tree | 43828c2132fa7fbb25b06a9978609f8405fb525f /drivers/media/dvb/frontends/tda18271-fe.c | |
parent | c353f42f752d9b47661ff83b947986f6de948b61 (diff) |
V4L/DVB (6988): tda18271: give calibration debug a separate debug mask
We don't usually want to see the calibration debug messages, but sometimes
it is useful. Assign it to a separate debug mask.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda18271-fe.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda18271-fe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/dvb/frontends/tda18271-fe.c index 7d218819b28..0b41b951394 100644 --- a/drivers/media/dvb/frontends/tda18271-fe.c +++ b/drivers/media/dvb/frontends/tda18271-fe.c | |||
@@ -25,7 +25,7 @@ | |||
25 | int tda18271_debug; | 25 | int tda18271_debug; |
26 | module_param_named(debug, tda18271_debug, int, 0644); | 26 | module_param_named(debug, tda18271_debug, int, 0644); |
27 | MODULE_PARM_DESC(debug, "set debug level " | 27 | MODULE_PARM_DESC(debug, "set debug level " |
28 | "(info=1, map=2, reg=4, adv=8 (or-able))"); | 28 | "(info=1, map=2, reg=4, adv=8, cal=16 (or-able))"); |
29 | 29 | ||
30 | static LIST_HEAD(tda18271_list); | 30 | static LIST_HEAD(tda18271_list); |
31 | static DEFINE_MUTEX(tda18271_list_mutex); | 31 | static DEFINE_MUTEX(tda18271_list_mutex); |
@@ -459,7 +459,7 @@ static int tda18271_powerscan(struct dvb_frontend *fe, | |||
459 | } else | 459 | } else |
460 | bcal = 0; | 460 | bcal = 0; |
461 | 461 | ||
462 | tda_dbg("bcal = %d, freq_in = %d, freq_out = %d (freq = %d)\n", | 462 | tda_cal("bcal = %d, freq_in = %d, freq_out = %d (freq = %d)\n", |
463 | bcal, *freq_in, *freq_out, freq); | 463 | bcal, *freq_in, *freq_out, freq); |
464 | 464 | ||
465 | return bcal; | 465 | return bcal; |
@@ -522,7 +522,7 @@ static int tda18271_rf_tracking_filters_init(struct dvb_frontend *fe, u32 freq) | |||
522 | for (rf = RF1; rf <= RF3; rf++) { | 522 | for (rf = RF1; rf <= RF3; rf++) { |
523 | if (0 == rf_default[rf]) | 523 | if (0 == rf_default[rf]) |
524 | return 0; | 524 | return 0; |
525 | tda_dbg("freq = %d, rf = %d\n", freq, rf); | 525 | tda_cal("freq = %d, rf = %d\n", freq, rf); |
526 | 526 | ||
527 | /* look for optimized calibration frequency */ | 527 | /* look for optimized calibration frequency */ |
528 | bcal = tda18271_powerscan(fe, &rf_default[rf], &rf_freq[rf]); | 528 | bcal = tda18271_powerscan(fe, &rf_default[rf], &rf_freq[rf]); |