i2c: mediatek: Move suspend and resume handling to NOIRQ phase
authorQii Wang <qii.wang@mediatek.com>
Sat, 9 Jan 2021 08:29:50 +0000 (16:29 +0800)
committerWolfram Sang <wsa@kernel.org>
Thu, 28 Jan 2021 09:54:45 +0000 (10:54 +0100)
commitde96c3943f591018727b862f51953c1b6c55bcc3
tree2cb36cfef2b25091ce959897e21b8d81a819648e
parent6ee1d745b7c9fd573fba142a2efdad76a9f1cb04
i2c: mediatek: Move suspend and resume handling to NOIRQ phase

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@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mt65xx.c