diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2024-02-07 14:17:09 +0200 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2024-03-26 18:19:51 -0400 |
commit | 069e1bd0ad2d7ac26a36b54c1cbe9314da307019 (patch) | |
tree | c34e0a12403b24aa23e4209db413eef94d5b2b8f /drivers | |
parent | f33bf922d49d472b8d6900df89535c6f0ba86271 (diff) | |
download | linux-stable-069e1bd0ad2d7ac26a36b54c1cbe9314da307019.tar.gz linux-stable-069e1bd0ad2d7ac26a36b54c1cbe9314da307019.tar.bz2 linux-stable-069e1bd0ad2d7ac26a36b54c1cbe9314da307019.zip |
media: ivsc: csi: Swap SINK and SOURCE pads
[ Upstream commit 48f5fd8967f8dd01679fc1618b0cba02095cddc5 ]
This patch swaps SINK and SOURCE pads of the MEI CSI sub-device. While
this does change the UAPI by swapping the pads, the driver has never been
usable in upstream kernel as the Intel IPU6 driver it depends on any
functionality has not yet been merged.
Fixes: 29006e196a56 ("media: pci: intel: ivsc: Add CSI submodule")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/pci/intel/ivsc/mei_csi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/intel/ivsc/mei_csi.c b/drivers/media/pci/intel/ivsc/mei_csi.c index 00ba611e0f68..5132a7527feb 100644 --- a/drivers/media/pci/intel/ivsc/mei_csi.c +++ b/drivers/media/pci/intel/ivsc/mei_csi.c @@ -72,8 +72,8 @@ enum ivsc_privacy_status { }; enum csi_pads { - CSI_PAD_SOURCE, CSI_PAD_SINK, + CSI_PAD_SOURCE, CSI_NUM_PADS }; @@ -585,7 +585,7 @@ static int mei_csi_notify_bound(struct v4l2_async_notifier *notifier, csi->remote_pad = pad; return media_create_pad_link(&subdev->entity, pad, - &csi->subdev.entity, 1, + &csi->subdev.entity, CSI_PAD_SINK, MEDIA_LNK_FL_ENABLED | MEDIA_LNK_FL_IMMUTABLE); } |