]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: ivsc: csi: don't count privacy on as error
authorWentong Wu <wentong.wu@intel.com>
Fri, 7 Jun 2024 13:25:45 +0000 (21:25 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 15 Jun 2024 09:16:39 +0000 (11:16 +0200)
commita813f168336ec4ef725b836e598cd9dc14f76dd7
treecd9feab881d17775106a5ebb28ed5f9488772181
parentc6be6471004e0e4d10d0514146d8c41550823d63
media: ivsc: csi: don't count privacy on as error

Prior to the ongoing command privacy is on, it would return -1 to
indicate the current privacy status, and the ongoing command would
be well executed by firmware as well, so this is not error. This
patch changes its behavior to notify privacy on directly by V4L2
privacy control instead of reporting error.

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>
drivers/media/pci/intel/ivsc/mei_csi.c