Commit b42aef63 authored by Enrico Scholz's avatar Enrico Scholz

onsemi-core: support CROP_DEFAULT in get_selection()

Signed-off-by: Enrico Scholz's avatarEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
parent e66d0e6d
...@@ -2239,6 +2239,7 @@ static int onsemi_get_selection(struct v4l2_subdev *sd, ...@@ -2239,6 +2239,7 @@ static int onsemi_get_selection(struct v4l2_subdev *sd,
mutex_unlock(&onsemi->lock); mutex_unlock(&onsemi->lock);
break; break;
case V4L2_SEL_TGT_CROP_DEFAULT:
case V4L2_SEL_TGT_CROP_BOUNDS: case V4L2_SEL_TGT_CROP_BOUNDS:
s->r = (struct v4l2_rect) { s->r = (struct v4l2_rect) {
.left = limits->x.min, .left = limits->x.min,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment