Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76714
b: refs/heads/master
c: cf04d29
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 262b74c commit cea1e35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c353f42f752d9b47661ff83b947986f6de948b61
refs/heads/master: cf04d29c4868a783b3e994e4a19f78ce22ba2d93
6 changes: 3 additions & 3 deletions trunk/drivers/media/dvb/frontends/tda18271-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
int tda18271_debug;
module_param_named(debug, tda18271_debug, int, 0644);
MODULE_PARM_DESC(debug, "set debug level "
"(info=1, map=2, reg=4, adv=8 (or-able))");
"(info=1, map=2, reg=4, adv=8, cal=16 (or-able))");

static LIST_HEAD(tda18271_list);
static DEFINE_MUTEX(tda18271_list_mutex);
Expand Down Expand Up @@ -459,7 +459,7 @@ static int tda18271_powerscan(struct dvb_frontend *fe,
} else
bcal = 0;

tda_dbg("bcal = %d, freq_in = %d, freq_out = %d (freq = %d)\n",
tda_cal("bcal = %d, freq_in = %d, freq_out = %d (freq = %d)\n",
bcal, *freq_in, *freq_out, freq);

return bcal;
Expand Down Expand Up @@ -522,7 +522,7 @@ static int tda18271_rf_tracking_filters_init(struct dvb_frontend *fe, u32 freq)
for (rf = RF1; rf <= RF3; rf++) {
if (0 == rf_default[rf])
return 0;
tda_dbg("freq = %d, rf = %d\n", freq, rf);
tda_cal("freq = %d, rf = %d\n", freq, rf);

/* look for optimized calibration frequency */
bcal = tda18271_powerscan(fe, &rf_default[rf], &rf_freq[rf]);
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/media/dvb/frontends/tda18271-priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ extern int tda18271_debug;
#define DBG_MAP 2
#define DBG_REG 4
#define DBG_ADV 8
#define DBG_CAL 16

#define tda_printk(kern, fmt, arg...) \
printk(kern "%s: " fmt, __FUNCTION__, ##arg)
Expand All @@ -144,6 +145,7 @@ extern int tda18271_debug;
#define tda_dbg(fmt, arg...) dprintk(KERN_DEBUG, DBG_INFO, fmt, ##arg)
#define tda_map(fmt, arg...) dprintk(KERN_DEBUG, DBG_MAP, fmt, ##arg)
#define tda_reg(fmt, arg...) dprintk(KERN_DEBUG, DBG_REG, fmt, ##arg)
#define tda_cal(fmt, arg...) dprintk(KERN_DEBUG, DBG_CAL, fmt, ##arg)

/*---------------------------------------------------------------------*/

Expand Down

0 comments on commit cea1e35

Please sign in to comment.