From: Yannick Fertre Date: Mon, 29 Jan 2024 10:41:05 +0000 (+0100) Subject: drm/stm: dsi: add pm runtime ops X-Git-Tag: v6.11-rc1~141^2~5^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b0e83c2c857f6eb5fb9ac76c2c218ac5687a04f5;p=thirdparty%2Fkernel%2Flinux.git 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 --- 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