]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 24 Mar 2021 10:11:50 +0000 (11:11 +0100)
commitdd7094bca44b24d31f91f598b27ee056d6f1c325
treea46d6d08082da102692515906e5ef55026775c48
parentb8a69d4d5d158a5d3c107b37fd9dd58aa67b0330
i2c: mediatek: Move suspend and resume handling to NOIRQ phase

BugLink: https://bugs.launchpad.net/bugs/1918158
[ Upstream commit de96c3943f591018727b862f51953c1b6c55bcc3 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/i2c/busses/i2c-mt65xx.c