diff options
| author | Guangshuo Li <lgs201920130244@gmail.com> | 2026-09-13 16:58:14 +0800 |
|---|---|---|
| committer | Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | 2026-09-15 02:09:28 +0300 |
| commit | f4fae975db08a9aeec0b15e145c7d4d0fe02a0ec (patch) | |
| tree | 208fdbb7eae41bc7741c1a178831a42b0a741928 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 2028280686f4fa78e2f1f6dede4b6c1fd782b9e3 (diff) | |
| download | linux-next-f4fae975db08a9aeec0b15e145c7d4d0fe02a0ec.tar.gz linux-next-f4fae975db08a9aeec0b15e145c7d4d0fe02a0ec.zip | |
drm/msm/hdmi_phy: fix runtime PM cleanup on probe failure
msm_hdmi_phy_probe() enables runtime PM before enabling the PHY
resources and initializing the PLL, but failures from either operation
return without calling the matching pm_runtime_disable().
The remove path disables runtime PM, but it is not called when probe
fails. As a result, runtime PM remains enabled after an unsuccessful
probe.
Route failures after pm_runtime_enable() through a common error path
and disable runtime PM before returning.
This issue was found by manual code inspection.
Fixes: 15b4a4523859 ("drm/msm/hdmi: Create a separate HDMI PHY driver")
Cc: stable@vger.kernel.org
Signed-off-by: Guangshuo Li <lgs201920130244@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/753043/
Link: https://lore.kernel.org/r/20260913085814.1509352-1-lgs201920130244@gmail.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
