media: v4l2-ctrls-api.c: move ctrl->is_new = 1 to the correct line
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 28 Dec 2022 17:02:27 +0000 (18:02 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 9 Feb 2023 08:22:45 +0000 (09:22 +0100)
commit05165248df6552daaacf5621e3a5e2369117a8a9
tree66b842552685713aa1fac11b1cb0280b5b4f4913
parent39d08ab979b7995d22dd6b3ce74d3179f02847a1
media: v4l2-ctrls-api.c: move ctrl->is_new = 1 to the correct line

The patch that fixed string control support somehow got mangled when it was
merged in mainline: the added line ended up in the wrong place.

Fix this.

Fixes: 73278d483378 ("media: v4l2-ctrls-api.c: add back dropped ctrl->is_new = 1")
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls-api.c