]> 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)
commitf138a8bad0f3e4a4772863b0880076e6980e9090
tree2cb36cfef2b25091ce959897e21b8d81a819648e
parentbb30d010fcc33a6e59b2b501e4ba1a6982895115
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