From: Mike Isely Date: Mon, 20 Feb 2012 05:24:39 +0000 (-0300) Subject: [media] pvrusb2: Clean up pvr2_hdw_get_detected_std() X-Git-Tag: v3.5-rc1~104^2~332 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7378c184218227c5b936e3d50c6f03c9e127af00;p=karo-tx-linux.git [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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index ebc2c7e39233..534dbf3d0144 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;