Commit ca739eb0 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

Revert "[media] rcar_vin: call g_std() instead of querystd()"



As pointed by Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
this patch depends on two adv7180 patches that got rejected.

This reverts commit f00ae754.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent d383b579
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {