|
@@ -1313,6 +1313,8 @@ static int s5k5baf_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh,
|
|
const struct s5k5baf_pixfmt *pixfmt;
|
|
const struct s5k5baf_pixfmt *pixfmt;
|
|
int ret = 0;
|
|
int ret = 0;
|
|
|
|
|
|
|
|
+ mf->field = V4L2_FIELD_NONE;
|
|
|
|
+
|
|
if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) {
|
|
if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) {
|
|
*v4l2_subdev_get_try_format(fh, fmt->pad) = *mf;
|
|
*v4l2_subdev_get_try_format(fh, fmt->pad) = *mf;
|
|
return 0;
|
|
return 0;
|