projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18103c5
)
V4L/DVB (5082): Pvrusb2: Slight debug printing efficiency fixup
author
Mike Isely
<isely@pobox.com>
Sat, 20 Jan 2007 03:10:55 +0000
(
00:10
-0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:38 +0000
(13:34 -0200)
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-hdw.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 4672199ae92d7c61dfb9e2c8fd5db278c3cca21c..776125491c8128028119094aa39aeacfdf57445f 100644
(file)
--- a/
drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/
drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@
-2443,10
+2443,9
@@
static int pvr2_hdw_commit_ctl_internal(struct pvr2_hdw *hdw)
cptr = hdw->controls + idx;
if (cptr->info->is_dirty == 0) continue;
if (!cptr->info->is_dirty(cptr)) continue;
- if (!commit_flag) {
- commit_flag = !0;
- }
+ commit_flag = !0;
+ if (!(pvrusb2_debug & PVR2_TRACE_CTL)) continue;
bcnt = scnprintf(buf,sizeof(buf),"\"%s\" <-- ",
cptr->info->name);
value = 0;