Commit 5b78b88a authored by Faiz Abbas's avatar Faiz Abbas Committed by Greg Kroah-Hartman
Browse files

drm/arm/komeda: Fix komeda probe failing if there are no links in the secondary pipeline



[ Upstream commit 9054c46d ]

Since commit 4cfe5cc0 ("drm/arm/komeda: Remove component framework and
add a simple encoder"), the devm_drm_of_get_bridge() call happens
regardless of whether any remote nodes are available on the pipeline. Fix
this by moving the bridge attach to its own function and calling it
conditional on there being an output link.

Fixes: 4cfe5cc0 ("drm/arm/komeda: Remove component framework and add a simple encoder")
Signed-off-by: default avatarFaiz Abbas <faiz.abbas@arm.com>
[Corrected Commit-id of the fixed patch to match mainline]
Signed-off-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
Acked-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240219100915.192475-2-faiz.abbas@arm.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 86d20128
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment