]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:01 +0000 (11:28 +0100)
commit51bf4733f703e6af1ba0e248a8eab74c3d3a2c06
treec30c30d46f4e4b96bd637031c4340ea8fb9da1b5
parent40628b7efbe382f23dfd507301e29b890495d0ca
media: v4l2-ctrls-api.c: move ctrl->is_new = 1 to the correct line

[ Upstream commit a1550700629f30c5bd554161524f14f14600d554 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls-api.c