summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-04-19 23:59:11 -0500
committerMike Isely <isely@pobox.com>2006-04-19 23:59:11 -0500
commitf6ff726f1d538206996f33ae3cce23dfaf21d1ad (patch)
treea52c83ffec2f3c594a279c873bd7a13b7d3dd359 /linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
parentbbfdc6d1fdaea36ca996bb4cfdcc493d998a65f6 (diff)
downloadmediapointer-dvb-s2-f6ff726f1d538206996f33ae3cce23dfaf21d1ad.tar.gz
mediapointer-dvb-s2-f6ff726f1d538206996f33ae3cce23dfaf21d1ad.tar.bz2
Another rework of pvrusb2 video standard handling
From: Mike Isely <isely@pobox.com> Clean up logic for handling video standards in the pvrusb2 driver. New implementation should be able to handle all possible V4L defined video standards now, and it should be far easier to maintain this going forward. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
index e6b176bf3..9f81aff2b 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-cmd-v4l2.c
@@ -29,7 +29,7 @@
static void set_standard(struct pvr2_hdw *hdw)
{
v4l2_std_id vs;
- vs = hdw->video_std_cur;
+ vs = hdw->std_mask_cur;
pvr2_trace(PVR2_TRACE_CHIPS,
"i2c v4l2 set_standard(0x%llx)",(__u64)vs);
@@ -39,7 +39,7 @@ static void set_standard(struct pvr2_hdw *hdw)
static int check_standard(struct pvr2_hdw *hdw)
{
- return hdw->video_std_dirty != 0;
+ return hdw->std_dirty != 0;
}