Re: [PATCH] i2c: designware: Fix unbalanced suspended flag

From: Andy Shevchenko
Date: Fri Dec 09 2022 - 09:04:25 EST


On Fri, Dec 09, 2022 at 01:15:21PM +0100, Hans de Goede wrote:
> On 12/9/22 12:40, Richard Fitzgerald wrote:

...

> Did you add printk messages to the suspend/resume callbacks of
> i2c-designware-platdrv.c which show the system suspend callback
> being called but not the system resume one ?

Side note: It's better to use ftrace for that, less invasive time-wise.

...

> Did you add a printk to both the if + else paths
> and have you ever seen the controller not get
> resumed with this test added ?

--
With Best Regards,
Andy Shevchenko