[i2c-next,PATCH] i2c: medaitek: Move suspend and resume handling to NOIRQ phase

Qii Wang qii.wang at mediatek.com
Mon Nov 9 07:21:48 EST 2020


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 at mediatek.com wrote:
> From: Qii Wang <qii.wang at mediatek.com>
> 
> 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 at mediatek.com>
> ---
>  drivers/i2c/busses/i2c-mt65xx.c | 19 ++++++++++++++++---
>  1 file changed, 16 insertions(+), 3 deletions(-)




More information about the Linux-mediatek mailing list