 +
 +	a->bounds.left = 0;
 +	a->bounds.top = 0;
-+	a->bounds.width = priv->width;
-+	a->bounds.height = priv->height;
++	a->bounds.width = priv->max_width;
++	a->bounds.height = priv->max_height;
 +	a->defrect = a->bounds;
 +	a->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
 +

+	struct i2c_client *client = v4l2_get_subdevdata(sd);
+	struct ov490_priv *priv = to_ov490(client);
+
+	rect->left = 0;
+	rect->top = 0;
+	rect->width = priv->width;
+	rect->height = priv->height;
+
+	return 0;
+}

+	if (format->pad)
+		return -EINVAL;
+
+	mf->width = priv->rect.width;
+	mf->height = priv->rect.height;
+	mf->code = MEDIA_BUS_FMT_YUYV8_2X8;
+	mf->colorspace = V4L2_COLORSPACE_SMPTE170M;
+	mf->field = V4L2_FIELD_NONE;
