Commit a9cf95c8 authored by Ming Qian's avatar Ming Qian Committed by Treehugger Robot
Browse files

FROMGIT: media: amphion: Remove lock in s_ctrl callback



There is no need to add a lock in s_ctrl callback, it has been
synchronized by the ctrl_handler's lock, otherwise it may led to
a deadlock if the driver calls v4l2_ctrl_s_ctrl().

Signed-off-by: default avatarMing Qian <ming.qian@nxp.com>
Signed-off-by: default avatarSebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>

Bug: 352213761
(cherry picked from commit 065927b5
https: //git.linuxtv.org/media_tree.git master)
Change-Id: If536c4bcf9c0d09556eba306ccfd14665aac9186
Signed-off-by: default avatarZhipeng Wang <zhipeng.wang_1@nxp.com>
parent fadc0ed1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment