soc: ti: pm33xx: Add a print while entering RTC only mode with DDR in self-refresh
authorKeerthy <j-keerthy@ti.com>
Mon, 29 Apr 2019 04:44:35 +0000 (10:14 +0530)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Jun 2019 12:19:26 +0000 (05:19 -0700)
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@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/soc/ti/pm33xx.c

index fc5802ccb1c00da9e0d209e7d3dd949bd8f6583c..bb77c220b6f82b34c81cdf9f2e43bef82bef10b3 100644 (file)
@@ -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();