Re: [PATCH v3 1/9] i2c: tegra: Fix suspending in active runtime PM state

From: Thierry Reding
Date: Tue Jan 07 2020 - 07:39:00 EST

On Mon, 06 Jan 2020 04:04:15 +0300, Dmitry Osipenko wrote:
> I noticed that sometime I2C clock is kept enabled during suspend-resume.
> This happens because runtime PM defers dynamic suspension and thus it may
> happen that runtime PM is in active state when system enters into suspend.
> In particular I2C controller that is used for CPU's DVFS is often kept ON
> during suspend because CPU's voltage scaling happens quite often.
> Fixes: 8ebf15e9c869 ("i2c: tegra: Move suspend handling to NOIRQ phase")
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> ---
> drivers/i2c/busses/i2c-tegra.c | 9 +++++++++
> 1 file changed, 9 insertions(+)

Tested-by: Thierry Reding <treding@xxxxxxxxxx>