From dbebbf294b54764127b568c9d64dbcdd98cd5831 Mon Sep 17 00:00:00 2001 From: Venkata Gopi Nagaraju Botlagunta Date: Fri, 3 Jun 2022 16:56:04 +0530 Subject: [PATCH] disp: msm: dsi: add support for hibernation Set parent to xo clock for link clocks, before we enter suspend, so that framework and hw state are in correct state, when we exit from hibernation. Change-Id: Ib0e2ca6ac57aec566171b2f72e2b6822e2d9fde2 Signed-off-by: Venkata Gopi Nagaraju Botlagunta --- msm/dsi/dsi_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msm/dsi/dsi_display.c b/msm/dsi/dsi_display.c index 91682051c5e2..38c478f94641 100644 --- a/msm/dsi/dsi_display.c +++ b/msm/dsi/dsi_display.c @@ -2716,7 +2716,7 @@ error: return rc; } -#ifdef CONFIG_DEEPSLEEP +#if defined (CONFIG_DEEPSLEEP) || defined (CONFIG_HIBERNATION) int dsi_display_unset_clk_src(struct dsi_display *display) { int rc = 0;