Re: [Freedreno] [PATCH next] drm/msm/dp: add a missing unlock in dp_hpd_plug_handle()

From: Abhinav Kumar
Date: Mon Dec 04 2023 - 15:25:45 EST




On 12/4/2023 9:13 AM, Harshit Mogalapalli wrote:
When pm_runtime_resume_and_get() fails, unlock before returning.

Fixes: 5814b8bf086a ("drm/msm/dp: incorporate pm_runtime framework into DP driver")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx>
---
This is based on static analysis with Smatch. Only compile tested.
---
drivers/gpu/drm/msm/dp/dp_display.c | 1 +
1 file changed, 1 insertion(+)


Reviewed-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx>