summaryrefslogtreecommitdiff
path: root/drivers/media/pci/cobalt/cobalt-alsa-pcm.h
diff options
context:
space:
mode:
authorWentong Wu <wentong.wu@intel.com>2024-06-07 21:25:46 +0800
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-06-15 11:16:39 +0200
commitc6be6471004e0e4d10d0514146d8c41550823d63 (patch)
treede9bccc29d1607f8d9a41ee2eb2efa2f66b388ea /drivers/media/pci/cobalt/cobalt-alsa-pcm.h
parent461d6ee65d7cfbbf7ce1b9fdaaae041a5135f1cc (diff)
downloadlwn-c6be6471004e0e4d10d0514146d8c41550823d63.tar.gz
lwn-c6be6471004e0e4d10d0514146d8c41550823d63.zip
media: ivsc: csi: add separate lock for v4l2 control handler
There're possibilities that privacy status change notification happens in the middle of the ongoing mei command which already takes the command lock, but v4l2_ctrl_s_ctrl() would also need the same lock prior to this patch, so this may results in circular locking problem. This patch adds one dedicated lock for v4l2 control handler to avoid described issue. Fixes: 29006e196a56 ("media: pci: intel: ivsc: Add CSI submodule") Cc: stable@vger.kernel.org # for 6.6 and later Reported-by: Hao Yao <hao.yao@intel.com> Signed-off-by: Wentong Wu <wentong.wu@intel.com> Tested-by: Jason Chen <jason.z.chen@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/pci/cobalt/cobalt-alsa-pcm.h')
0 files changed, 0 insertions, 0 deletions