projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
830c1de
)
drm/tegra: dsi: Fix missing pm_runtime_disable() in the error handling path of tegra_...
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Sat, 2 Sep 2023 15:22:09 +0000
(17:22 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 14 Dec 2023 17:39:10 +0000
(18:39 +0100)
If an error occurs after calling pm_runtime_enable(), pm_runtime_disable()
should be called as already done in the remove function.
Fixes: ef8187d75265 ("drm/tegra: dsi: Implement runtime PM")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/ee4a15c9cd4b574a55cd67c30d2411239ba2cee9.1693667005.git.christophe.jaillet@wanadoo.fr
drivers/gpu/drm/tegra/dsi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/dsi.c
b/drivers/gpu/drm/tegra/dsi.c
index 0c8ad8ee5009a70ffb208f862684e43395a4df26..db606e151afc81e26eaacb36a90389acc3b5a1aa 100644
(file)
--- a/
drivers/gpu/drm/tegra/dsi.c
+++ b/
drivers/gpu/drm/tegra/dsi.c
@@
-1675,6
+1675,7
@@
static int tegra_dsi_probe(struct platform_device *pdev)
return 0;
unregister:
+ pm_runtime_disable(&pdev->dev);
mipi_dsi_host_unregister(&dsi->host);
mipi_free:
tegra_mipi_free(dsi->mipi);