]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Revert "i2c: tegra: Fix suspending in active runtime PM state"
authorThierry Reding <treding@nvidia.com>
Thu, 30 Apr 2020 11:31:58 +0000 (13:31 +0200)
committerKhalid Elmously <khalid.elmously@canonical.com>
Sat, 8 Aug 2020 05:53:12 +0000 (01:53 -0400)
commit4777d770fd7567e1fc26d6156672f033f3667422
treebeab48368221da43e05dfb109b1b419ef1c9edc8
parentf7c66324386af9adad0138df310c85d8e3c53249
Revert "i2c: tegra: Fix suspending in active runtime PM state"

BugLink: https://bugs.launchpad.net/bugs/1885942
[ Upstream commit 78ad73421831247e46c31899a7bead02740e4bef ]

This reverts commit 9f42de8d4ec2304f10bbc51dc0484f3503d61196.

It's not safe to use pm_runtime_force_{suspend,resume}(), especially
during the noirq phase of suspend. See also the guidance provided in
commit 1e2ef05bb8cf ("PM: Limit race conditions between runtime PM
and system sleep (v2)").

Signed-off-by: Thierry Reding <treding@nvidia.com>
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-tegra.c