media: ivsc: csi: Check number of lanes on source, too
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 16 Oct 2023 07:38:43 +0000 (10:38 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 22 Nov 2023 09:56:34 +0000 (10:56 +0100)
commit3c9202e88ffad78f57a418bace2d25f7824a7e4b
treeaddafd1fcd25f5eb1685bcc4985f787d2cf6711d
parent096bc4f14956c9e963419b292fc28f0dd4e52908
media: ivsc: csi: Check number of lanes on source, too

The IVSC has two CSI-2 ports, one receiver and one transmitter, for
passing through the CSI-2 image data. Both have the same number of lanes
and this information should be also present in firmware. Check this.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Wentong Wu <wentong.wu@intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/pci/intel/ivsc/mei_csi.c