Skip to content

Commit 48f5fd8

Browse files
Sakari AilusHans Verkuil
authored andcommitted
media: ivsc: csi: Swap SINK and SOURCE pads
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: 29006e1 ("media: pci: intel: ivsc: Add CSI submodule") Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent bef852d commit 48f5fd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/media/pci/intel/ivsc/mei_csi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ enum ivsc_privacy_status {
7171
};
7272

7373
enum csi_pads {
74-
CSI_PAD_SOURCE,
7574
CSI_PAD_SINK,
75+
CSI_PAD_SOURCE,
7676
CSI_NUM_PADS
7777
};
7878

@@ -587,7 +587,7 @@ static int mei_csi_notify_bound(struct v4l2_async_notifier *notifier,
587587
csi->remote_pad = pad;
588588

589589
return media_create_pad_link(&subdev->entity, pad,
590-
&csi->subdev.entity, 1,
590+
&csi->subdev.entity, CSI_PAD_SINK,
591591
MEDIA_LNK_FL_ENABLED |
592592
MEDIA_LNK_FL_IMMUTABLE);
593593
}

0 commit comments

Comments
 (0)