mfd: arizona: Add debug trace on entering and leaving runtime suspend
Subsystems (2)
PATCH 1/1 mfd: arizona: Add debug trace on entering and leaving runtime suspend
There doesn't appear to be any useful diagnostic information from the core.
Signed-off-by Mark Brown <[email protected]>
--- drivers/mfd/arizona-core.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/mfd/arizona-core.c +4 -0
@@ -223,6 +223,8 @@ static int arizona_runtime_resume(struct device *dev)struct arizona *arizona =dev_get_drvdata (dev);int ret; +dev_dbg (arizona->dev,"Leaving AoD mode\n" ); + ret =regulator_enable (arizona->dcvdd);if (ret !=0 ) {dev_err (arizona->dev,"Failed to enable DCVDD: %d\n" , ret);
@@ -246,6 +248,8 @@ static int arizona_runtime_suspend(struct device *dev) {struct arizona *arizona =dev_get_drvdata (dev); +dev_dbg (arizona->dev,"Entering AoD mode\n" ); +regulator_disable (arizona->dcvdd);regcache_cache_only (arizona->regmap, true);regcache_mark_dirty (arizona->regmap);
Signature · 1 line
1.7.10.4
Samuel Ortiz
AppliedHi Mark,
Quoted 7 lines · Mark Brown
There doesn't appear to be any useful diagnostic information from the core.
Signed-off-by Mark Brown <[email protected]>--- drivers/mfd/arizona-core.c | 4 ++++ 1 file changed, 4 insertions(+)
Applied, thanks.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/