Re: [PATCH v2 1/3] drm/bridge: analogix_dp: Check runtime resume before accessing hardware

From: Damon Ding

Date: Mon Nov 30 2026 - 07:00:32 EST


Hi Nikita,

On 11/25/2026 11:39 PM, Nikita Zhandarovich wrote:
Check runtime resume before continuing with the bridge's initialization
or accessing AUX registers. A failed resume may leave the controller
clock disabled.

Therefore, use pm_runtime_resume_and_get() so that an error return
does not retain a runtime-PM usage reference.

Fixes: 3424e3a4f844 ("drm: bridge: analogix/dp: split exynos dp driver to bridge directory")
Fixes: 8fb6c44fe846 ("drm/bridge: analogix_dp: Grab runtime PM reference for DP-AUX")
Fixes: c8f0b7cb01ea ("drm/bridge: analogix_dp: Add support for &drm_dp_aux.wait_hpd_asserted()")
Signed-off-by: Nikita Zhandarovich <n.zhandarovich@xxxxxxxxxx>
---
v1 -> v2: no code changes since v1.


I rebased this on top of my v8 HPD support patch series and it
works well:

Tested-by: Damon Ding <damon.ding@xxxxxxxxxxxxxx>
Reviewed-by: Damon Ding <damon.ding@xxxxxxxxxxxxxx>

Best regards,
Damon