Re: [i2c-next,PATCH] i2c: medaitek: Move suspend and resume handling to NOIRQ phase
From: Qii Wang
Date: Mon Nov 09 2020 - 07:22:01 EST
I am sorry, there is a misspelling in my subject.
-medaitek
+mediatek
I will revise it with other new comments and then update this patch.
On Sat, 2020-11-07 at 17:09 +0800, qii.wang@xxxxxxxxxxxx wrote:
> From: Qii Wang <qii.wang@xxxxxxxxxxxx>
>
> Some i2c device driver indirectly uses I2C driver when it is now
> being suspended. The i2c devices driver is suspended during the
> NOIRQ phase and this cannot be changed due to other dependencies.
> Therefore, we also need to move the suspend handling for the I2C
> controller driver to the NOIRQ phase as well.
>
> Signed-off-by: Qii Wang <qii.wang@xxxxxxxxxxxx>
> ---
> drivers/i2c/busses/i2c-mt65xx.c | 19 ++++++++++++++++---
> 1 file changed, 16 insertions(+), 3 deletions(-)