aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra/dsi.c
diff options
context:
space:
mode:
authorZhang Shurong <[email protected]>2023-10-04 22:10:55 +0800
committerThierry Reding <[email protected]>2023-12-14 18:27:11 +0100
commit0800880f4eb789b7d299db40f2e86e056bd33a4e (patch)
treeb06bc52c10ca42f8a597b7eaf4180c0d2b702d76 /drivers/gpu/drm/tegra/dsi.c
parent11aa6d78ab8b135bdeba0bdaa10e63527c837b89 (diff)
drm/tegra: dpaux: Fix PM disable depth imbalance in tegra_dpaux_probe
The pm_runtime_enable function increases the power disable depth, which means that we must perform a matching decrement on the error handling path to maintain balance within the given context. Additionally, we need to address the same issue for pm_runtime_get_sync. We fix this by invoking pm_runtime_disable and pm_runtime_put_sync when error returns. Fixes: 82b81b3ec1a7 ("drm/tegra: dpaux: Implement runtime PM") Signed-off-by: Zhang Shurong <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/tegra/dsi.c')
0 files changed, 0 insertions, 0 deletions