Commit 5b79da06 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: v4l2-ioctl: don't use CROP/COMPOSE_ACTIVE

Drop the deprecated _ACTIVE part.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: default avatarNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Tested-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent fbe57dde
...@@ -2214,9 +2214,9 @@ static int v4l_g_crop(const struct v4l2_ioctl_ops *ops, ...@@ -2214,9 +2214,9 @@ static int v4l_g_crop(const struct v4l2_ioctl_ops *ops,
/* crop means compose for output devices */ /* crop means compose for output devices */
if (V4L2_TYPE_IS_OUTPUT(p->type)) if (V4L2_TYPE_IS_OUTPUT(p->type))
s.target = V4L2_SEL_TGT_COMPOSE_ACTIVE; s.target = V4L2_SEL_TGT_COMPOSE;
else else
s.target = V4L2_SEL_TGT_CROP_ACTIVE; s.target = V4L2_SEL_TGT_CROP;
ret = v4l_g_selection(ops, file, fh, &s); ret = v4l_g_selection(ops, file, fh, &s);
...@@ -2241,9 +2241,9 @@ static int v4l_s_crop(const struct v4l2_ioctl_ops *ops, ...@@ -2241,9 +2241,9 @@ static int v4l_s_crop(const struct v4l2_ioctl_ops *ops,
/* crop means compose for output devices */ /* crop means compose for output devices */
if (V4L2_TYPE_IS_OUTPUT(p->type)) if (V4L2_TYPE_IS_OUTPUT(p->type))
s.target = V4L2_SEL_TGT_COMPOSE_ACTIVE; s.target = V4L2_SEL_TGT_COMPOSE;
else else
s.target = V4L2_SEL_TGT_CROP_ACTIVE; s.target = V4L2_SEL_TGT_CROP;
return v4l_s_selection(ops, file, fh, &s); return v4l_s_selection(ops, file, fh, &s);
} }
......
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