]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/arm/komeda: Fix komeda probe failing if there are no links in the secondary pipeline
authorFaiz Abbas <faiz.abbas@arm.com>
Mon, 19 Feb 2024 10:09:13 +0000 (15:39 +0530)
committerLiviu Dudau <liviu.dudau@arm.com>
Fri, 10 May 2024 10:20:28 +0000 (11:20 +0100)
commit9054c46d479b55768adae31031a1afa1b7d62228
tree45a39388b44d26af7da55dab50a8e497b15f15c6
parented325ac38e0c0e371f128db0978357453a0c362c
drm/arm/komeda: Fix komeda probe failing if there are no links in the secondary pipeline

Since commit 4cfe5cc02e3f ("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: 4cfe5cc02e3f ("drm/arm/komeda: Remove component framework and add a simple encoder")
Signed-off-by: Faiz Abbas <faiz.abbas@arm.com>
[Corrected Commit-id of the fixed patch to match mainline]
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240219100915.192475-2-faiz.abbas@arm.com
drivers/gpu/drm/arm/display/komeda/komeda_crtc.c