From b0e83c2c857f6eb5fb9ac76c2c218ac5687a04f5 Mon Sep 17 00:00:00 2001 From: Yannick Fertre Date: Mon, 29 Jan 2024 11:41:05 +0100 Subject: [PATCH] drm/stm: dsi: add pm runtime ops Update control of clocks and supply thanks to the PM runtime mechanism to avoid kernel crash during a system suspend. Signed-off-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou Acked-by: Yannick Fertre Tested-by: Yannick Fertre Signed-off-by: Philippe Cornu Link: https://patchwork.freedesktop.org/patch/msgid/20240129104106.43141-3-raphael.gallais-pou@foss.st.com --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c index b1aee43d51e9e..82fff9e84345c 100644 --- a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c +++ b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include