mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 05:11:46 +00:00
V4L/DVB (7696): pvrusb2: state control tweak
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>
This commit is contained in:
parent
98e184d978
commit
38d9a2cf2d
1 changed files with 1 additions and 1 deletions
|
@ -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) ?
|
(((hdw->input_val == PVR2_CVAL_INPUT_DTV) ?
|
||||||
PVR2_PATHWAY_DIGITAL : PVR2_PATHWAY_ANALOG) !=
|
PVR2_PATHWAY_DIGITAL : PVR2_PATHWAY_ANALOG) !=
|
||||||
hdw->pathway_state)) {
|
hdw->pathway_state)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue