projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e184d
)
V4L/DVB (7696): pvrusb2: state control tweak
author
Mike Isely
<isely@pobox.com>
Fri, 28 Mar 2008 08:30:48 +0000
(
05:30
-0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:47 +0000
(14:09 -0300)
Don't trigger a pathway state change if it's already been triggered
(eliminates some wasted processing and some debug output noise)
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
6a820b7
..
307a38d
100644
(file)
--- a/
drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/
drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@
-2401,7
+2401,7
@@
static int pvr2_hdw_commit_execute(struct pvr2_hdw *hdw)
}
}
- if (hdw->input_dirty &&
+ if (hdw->input_dirty &&
hdw->state_pathway_ok &&
(((hdw->input_val == PVR2_CVAL_INPUT_DTV) ?
PVR2_PATHWAY_DIGITAL : PVR2_PATHWAY_ANALOG) !=
hdw->pathway_state)) {