]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita29b8063f843c11bfb25bffbd693b76502b41858
tree2cb36cfef2b25091ce959897e21b8d81a819648e
parentd3fdd1bcd9c220739ee087fbcd1863a2f936b6a3
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