[PATCH v4 03/12] drm/mediatek: mtk_dp: Call pm_runtime_put_sync() in removal path

CK Hu (胡俊光) ck.hu at mediatek.com
Wed Aug 26 23:23:53 PDT 2026


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 at mediatek.com>

> 
> Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> ---


More information about the linux-arm-kernel mailing list