Re: [PATCH v4 03/12] drm/mediatek: mtk_dp: Call pm_runtime_put_sync() in removal path
From: CK Hu (胡俊光)
Date: Thu Aug 27 2026 - 02:24:08 EST
On Thu, 2026-07-09 at 13:31 +0200, AngeloGioacchino Del Regno wrote:
> Since pm_runtime_put() queues an asynchronous suspend, calling
> pm_runtime_disable() right after will cancel the pending suspend
> work.
>
> Call pm_runtime_put_sync() instead during mtk_dp_remove() to
> overcome to this issue, making sure that the suspend ops execute
> and that the hardware correctly powers off before module unload.
Reviewed-by: CK Hu <ck.hu@xxxxxxxxxxxx>
>
> Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
> ---