diff options
author | Mike Isely <isely@pobox.com> | 2006-04-20 00:01:13 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-04-20 00:01:13 -0500 |
commit | 369f3ae0c1361e47201d1cc6cfbd93c0c74fe8bc (patch) | |
tree | 0e2d780d90c0ae0f50b90249fddc7d5801a58cd4 /linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c | |
parent | f6ff726f1d538206996f33ae3cce23dfaf21d1ad (diff) | |
download | mediapointer-dvb-s2-369f3ae0c1361e47201d1cc6cfbd93c0c74fe8bc.tar.gz mediapointer-dvb-s2-369f3ae0c1361e47201d1cc6cfbd93c0c74fe8bc.tar.bz2 |
Change pvrusb2 subsystem definition bits for easier handling
From: Mike Isely <isely@pobox.com>
Subsystem bits are defined as ordinal values now instead of bits in a
mask.
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c b/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c index 962c88740..e0cded4be 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c @@ -414,7 +414,7 @@ int pvr2_encoder_configure(struct pvr2_hdw *hdw) ret |= pvr2_write_encoder_vcmd(hdw, CX2341X_ENC_INITIALIZE_INPUT, 0); if (!ret) { - hdw->subsys_enabled_mask |= PVR2_SUBSYS_ENC_CFG; + hdw->subsys_enabled_mask |= (1<<PVR2_SUBSYS_B_ENC_CFG); } return ret; @@ -442,7 +442,7 @@ int pvr2_encoder_start(struct pvr2_hdw *hdw) 0,0x13); } if (!status) { - hdw->subsys_enabled_mask |= PVR2_SUBSYS_ENC_RUN; + hdw->subsys_enabled_mask |= (1<<PVR2_SUBSYS_B_ENC_RUN); } return status; } @@ -472,7 +472,7 @@ int pvr2_encoder_stop(struct pvr2_hdw *hdw) pvr2_hdw_gpio_chg_out(hdw,0xffffffff,0x00000000); if (!status) { - hdw->subsys_enabled_mask &= ~PVR2_SUBSYS_ENC_RUN; + hdw->subsys_enabled_mask &= ~(1<<PVR2_SUBSYS_B_ENC_RUN); } return status; } |