[PATCH] soc: ti: pm33xx: Add a print while entering RTC only mode with DDR in self-refresh

From: Keerthy
Date: Mon Apr 29 2019 - 00:50:31 EST


Currently there is no way to distinguish if the SoC entered DS0
mode or the RTC only mode. Hence add a print before entering
the RTC only mode.

Signed-off-by: Keerthy <j-keerthy@xxxxxx>
---
drivers/soc/ti/pm33xx.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/soc/ti/pm33xx.c b/drivers/soc/ti/pm33xx.c
index fc5802ccb1c0..bb77c220b6f8 100644
--- a/drivers/soc/ti/pm33xx.c
+++ b/drivers/soc/ti/pm33xx.c
@@ -178,6 +178,7 @@ static int am33xx_pm_suspend(suspend_state_t suspend_state)
suspend_wfi_flags);

suspend_wfi_flags &= ~WFI_FLAG_RTC_ONLY;
+ dev_info(pm33xx_dev, "Entering RTC Only mode with DDR in self-refresh\n");

if (!ret) {
clk_restore_context();
--
2.17.1