Re: [PATCH 2/2] drm/msm/dp: fix runtime PM leak on connect failure

From: Abhinav Kumar
Date: Wed Mar 13 2024 - 15:05:03 EST




On 3/13/2024 9:43 AM, Johan Hovold wrote:
Make sure to balance the runtime PM usage counter (and suspend) before
returning on connect failures (e.g. DPCD read failures after a spurious
connect event or if link training fails).

Fixes: 5814b8bf086a ("drm/msm/dp: incorporate pm_runtime framework into DP driver")
Cc: stable@xxxxxxxxxxxxxxx # 6.8
Cc: Kuogee Hsieh <quic_khsieh@xxxxxxxxxxx>
Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>

Reviewed-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx>