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)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 22 Jan 2023 07:27:33 +0000 (08:27 +0100)
commita1550700629f30c5bd554161524f14f14600d554
tree5f6eaac5018fcd115e2e56c68d3804b7435160ca
parent2241ab53cbb5cdb08a6b2d4688feb13971058f65
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