mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
media: ivsc: csi: Swap SINK and SOURCE pads
[ Upstream commit48f5fd8967
] 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:29006e196a
("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>
This commit is contained in:
parent
f33bf922d4
commit
069e1bd0ad
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue