Re: [PATCH v5 01/11] gpio: pca953x: move suspend()/resume() to suspend_noirq()/resume_noirq()

From: Andy Shevchenko
Date: Tue Apr 23 2024 - 06:35:15 EST


On Tue, Apr 23, 2024 at 12:42 PM Geert Uytterhoeven
<geert@xxxxxxxxxxxxxx> wrote:
> On Tue, Apr 16, 2024 at 3:31 PM Thomas Richard
> <thomas.richard@xxxxxxxxxxx> wrote:

..

> +i2c-rcar e66d8000.i2c: error -16 : 10000005

It probably means that I²C host controller is already in power off
mode and can't serve anymore.

> +pca953x 4-0020: Failed to sync GPIO dir registers: -16
> +pca953x 4-0020: Failed to restore register map: -16
> +pca953x 4-0020: PM: dpm_run_callback(): pca953x_resume_noirq
> returns -16
> +pca953x 4-0020: PM: failed to resume async noirq: error -16

Yeah, with this it's kinda forcing _every_ I²C host controller PM to
be moved also to noirq() or alike.

..

> All issues above are fixed by reverting this commit.

Let's revert as we close to the end of the cycle and this is not
something that can be fixed ASAP in my opinion.

..

Thanks for the report, It's a pity that it wasn't tested before from
the mailing list...

--
With Best Regards,
Andy Shevchenko