[media] s5p-fimc: Fix camera input configuration in subdev operations
When using only subdev user-space operations the camera interface input was not configured properly. Fix this by updating the corresponding data structure in set_fmt operation. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
a32390d808
commit
393a23fc93
@ -1242,6 +1242,7 @@ static int fimc_subdev_set_fmt(struct v4l2_subdev *sd,
|
||||
|
||||
mutex_lock(&fimc->lock);
|
||||
set_frame_bounds(ff, mf->width, mf->height);
|
||||
fimc->vid_cap.mf = *mf;
|
||||
ff->fmt = ffmt;
|
||||
|
||||
/* Reset the crop rectangle if required. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user