]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:43 +0000 (18:19 -0400)
commitae532eb08a28b25475a302ae1a393735ffaaa54a
tree3d0717d108c58aa562c5009395e8e33c1ed155c2
parentedbb3226c985469a2f8eb69885055c9f5550f468
media: cadence: csi2rx: use match fwnode for media link

[ Upstream commit 448699c522af9e3266f168c3f51f4c3713c7bee1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/cadence/cdns-csi2rx.c