diff options
author | Mike Isely <isely@pobox.com> | 2008-03-28 00:30:48 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2008-03-28 00:30:48 -0500 |
commit | 9dc66fc9a190c27f2070c372ff6e34a6aa3c89d0 (patch) | |
tree | 6a045827f78b4dcd96ab36e872c37918e65d3c84 /linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |
parent | 643b33216fac7a5d80ce2997ff2f44f0017acae3 (diff) | |
download | mediapointer-dvb-s2-9dc66fc9a190c27f2070c372ff6e34a6aa3c89d0.tar.gz mediapointer-dvb-s2-9dc66fc9a190c27f2070c372ff6e34a6aa3c89d0.tar.bz2 |
pvrusb2: state control tweak
From: Mike Isely <isely@pobox.com>
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>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c index f7dd9d1f9..f427f4df9 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c @@ -2419,7 +2419,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)) { |