]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Revert "[media] rcar_vin: call g_std() instead of querystd()"
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 1 Oct 2015 18:48:19 +0000 (15:48 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 1 Oct 2015 18:49:17 +0000 (15:49 -0300)
As pointed by Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
this patch depends on two adv7180 patches that got rejected.

This reverts commit f00ae754c536511055ed6162778be8348e093514.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/rcar_vin.c

index 98e2593b94db80bc8e89719347aafb1b47168d71..a34d1f9682359f328aece2557d742eb36f20c8ff 100644 (file)
@@ -1603,8 +1603,8 @@ static int rcar_vin_set_fmt(struct soc_camera_device *icd,
                field = pix->field;
                break;
        case V4L2_FIELD_INTERLACED:
-               /* Get the last standard if not explicitly mentioned _TB/_BT */
-               ret = v4l2_subdev_call(sd, video, g_std, &std);
+               /* Query for standard if not explicitly mentioned _TB/_BT */
+               ret = v4l2_subdev_call(sd, video, querystd, &std);
                if (ret == -ENOIOCTLCMD) {
                        field = V4L2_FIELD_NONE;
                } else if (ret < 0) {