summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-hdw.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2012-02-20 02:24:39 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-07 16:50:27 -0300
commit7378c184218227c5b936e3d50c6f03c9e127af00 (patch)
treed6c6d7c06c4c2879619063d767c182f3e2a6771b /drivers/media/video/pvrusb2/pvrusb2-hdw.c
parentc6d26cfe26e475c9ddd09667dd6694b34469f4dc (diff)
[media] pvrusb2: Clean up pvr2_hdw_get_detected_std()
Move full implementation of pvr2_hdw_get_detected_std() actually include pvr2_hdw_get_detected_std(). Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index ebc2c7e3923..534dbf3d014 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -2997,6 +2997,7 @@ static void pvr2_subdev_set_control(struct pvr2_hdw *hdw, int id,
int pvr2_hdw_get_detected_std(struct pvr2_hdw *hdw, v4l2_std_id *std)
{
+ *std = V4L2_STD_ALL;
v4l2_device_call_all(&hdw->v4l2_dev, 0,
video, querystd, std);
return 0;