[media] pvrusb2: Clean up pvr2_hdw_get_detected_std()
authorMike Isely <isely@pobox.com>
Mon, 20 Feb 2012 05:24:39 +0000 (02:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 May 2012 19:50:27 +0000 (16:50 -0300)
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>
drivers/media/video/pvrusb2/pvrusb2-hdw.c

index ebc2c7e..534dbf3 100644 (file)
@@ -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;