drm/panel: synaptics-r63353: Fix regulator unbalance
PATCH RESEND v2 1/1 drm/panel: synaptics-r63353: Fix regulator unbalance
From: Michael Trimarchi <[email protected]>
The shutdown function can be called when the display is already unprepared. For example during reboot this trigger a kernel backlog. Calling the drm_panel_unprepare, allow us to avoid to trigger the kernel warning.
---
Changes in v2:
- Add 'Fixes' tag.
- Add 'Reviewed-by' tag of Neil Armstrong.
drivers/gpu/drm/panel/panel-synaptics-r63353.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panel/panel-synaptics-r63353.c +1 -1
@@ -325,7 +325,7 @@ static void r63353_panel_shutdown(struct mipi_dsi_device *dsi) {struct r63353_panel *rpanel =mipi_dsi_get_drvdata (dsi); -r63353_panel_unprepare (&rpanel->base); +drm_panel_unprepare (&rpanel->base); }static const struct r63353_desc sharp_ls068b3sx02_data = {
Signature · 1 line
2.43.0
Quoted 7 lines · Dario Binacchi
From: Michael Trimarchi <[email protected]>
The shutdown function can be called when the display is already unprepared. For example during reboot this trigger a kernel backlog. Calling the
drm_panel_unprepare, allow us to avoid to trigger the kernel warning.
Quoted 5 lines
Fixes 2e87bad7cd33 ("drm/panel: Add Synaptics R63353 panel driver")Tested-by Dario Binacchi <[email protected]>Signed-off-by Michael Trimarchi <[email protected]>Signed-off-by Dario Binacchi <[email protected]>Reviewed-by Neil Armstrong <[email protected]>
Quoted 26 lines
---
Changes in v2:
- Add 'Fixes' tag.
- Add 'Reviewed-by' tag of Neil Armstrong.drivers/gpu/drm/panel/panel-synaptics-r63353.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/panel/panel-synaptics-r63353.c +1
-1@@ -325,7 +325,7 @@ static void r63353_panel_shutdown(struct mipi_dsi_device *dsi) {struct r63353_panel *rpanel =mipi_dsi_get_drvdata (dsi); -r63353_panel_unprepare (&rpanel->base); +drm_panel_unprepare (&rpanel->base); }static const struct r63353_desc sharp_ls068b3sx02_data = {Signature · 1 line
2.43.0
Hi,
Quoted 6 lines · Dario Binacchi
The shutdown function can be called when the display is already unprepared. For example during reboot this trigger a kernel backlog. Calling the
drm_panel_unprepare, allow us to avoid to trigger the kernel warning.
Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-fixes)
[1/1] drm/panel: synaptics-r63353: Fix regulator unbalance
https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/d2bd3fcb825725a59c8880070b1206b1710922bd
Signature · 1 line
Neil