aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-hdw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index e98d38212791..5a6f24d1246d 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -2993,6 +2993,13 @@ static void pvr2_subdev_set_control(struct pvr2_hdw *hdw, int id,
2993 pvr2_subdev_set_control(hdw, id, #lab, (hdw)->lab##_val); \ 2993 pvr2_subdev_set_control(hdw, id, #lab, (hdw)->lab##_val); \
2994 } 2994 }
2995 2995
2996int pvr2_hdw_get_detected_std(struct pvr2_hdw *hdw, v4l2_std_id *std)
2997{
2998 v4l2_device_call_all(&hdw->v4l2_dev, 0,
2999 video, querystd, std);
3000 return 0;
3001}
3002
2996/* Execute whatever commands are required to update the state of all the 3003/* Execute whatever commands are required to update the state of all the
2997 sub-devices so that they match our current control values. */ 3004 sub-devices so that they match our current control values. */
2998static void pvr2_subdev_update(struct pvr2_hdw *hdw) 3005static void pvr2_subdev_update(struct pvr2_hdw *hdw)