Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix privacy issue for MEI CSI
@ 2024-06-03  8:26 Wentong Wu
  2024-06-03  8:26 ` [PATCH 1/3] media: ivsc: csi: don't count privacy on as error Wentong Wu
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Wentong Wu @ 2024-06-03  8:26 UTC (permalink / raw)
  To: sakari.ailus, linux-media; +Cc: hao.yao, Wentong Wu

Currently if starting stream goes with privacy mode on, the whole
pipeline will fail because MEI CSI counts privacy mode on as error.
In face, the ongoing MEI command is well executed by firmware as
well even if privacy mode is turned on. The status (-1) of command
response is just to indicate current privacy on status instead of
failed to execute command by firmware. This patch set changes the
behavior to notify privacy mode on via v4l2 privacy control instead
of fail the ongoing MEI command.

This patch set adds one dedicated lock for v4l2 control handler to
avoid dead locking issue as well. And the useless privacy status in
struct mei_csi is removed to make code clean.

Wentong Wu (3):
  media: ivsc: csi: don't count privacy on as error
  media: ivsc: csi: add separate lock for v4l2 control handler
  media: ivsc: csi: remove privacy status in struct mei_csi

 drivers/media/pci/intel/ivsc/mei_csi.c | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-06-07 12:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-03  8:26 [PATCH 0/3] Fix privacy issue for MEI CSI Wentong Wu
2024-06-03  8:26 ` [PATCH 1/3] media: ivsc: csi: don't count privacy on as error Wentong Wu
2024-06-07 12:45   ` Sakari Ailus
2024-06-07 12:55     ` Wu, Wentong
2024-06-03  8:26 ` [PATCH 2/3] media: ivsc: csi: add separate lock for v4l2 control handler Wentong Wu
2024-06-07 12:41   ` Sakari Ailus
2024-06-07 12:53     ` Wu, Wentong
2024-06-03  8:26 ` [PATCH 3/3] media: ivsc: csi: remove privacy status in struct mei_csi Wentong Wu
2024-06-07 12:45   ` Sakari Ailus
2024-06-07 12:54     ` Wu, Wentong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox