media: cadence: csi2rx: use match fwnode for media link
authorJulien Massot <julien.massot@collabora.com>
Fri, 5 Jan 2024 09:00:21 +0000 (10:00 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 22 Jan 2024 16:23:58 +0000 (17:23 +0100)
commit448699c522af9e3266f168c3f51f4c3713c7bee1
treee683521d74fe2d003bebf294eb80f53391fe5ce2
parentdcef3ed5b0d79f89018e31d55cf09f2c2f81392b
media: cadence: csi2rx: use match fwnode for media link

Since commit 1029939b3782 ("media: v4l: async: Simplify async sub-device fwnode matching"),
async connections are matched using the async sub-device fwnode, not that
of the endpoint. Fix this by using the fwnode of the connection match to
find the pad.

Fixes: 1029939b3782 ("media: v4l: async: Simplify async sub-device fwnode matching")
Signed-off-by: Julien Massot <julien.massot@collabora.com>
Reviewed-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/cadence/cdns-csi2rx.c