media: ivsc: csi: Don't parse remote endpoints
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 16 Oct 2023 07:18:29 +0000 (10:18 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 22 Nov 2023 09:56:34 +0000 (10:56 +0100)
commit153cbfc8bdc55642578d0b513c04496ee27b6430
tree6ea66069059e76a2c6c1350c3dd74471309284c4
parenta274f4d1e5af404fcc7b5554521913590c9d7b08
media: ivsc: csi: Don't parse remote endpoints

The driver parsed, besides its own endpoint on the sink, the remote
upstream endpoint that most likely is a sensor, and took the number of
lanes from that. Instead obtain the number of lanes from the local
endpoint.

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