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)
committerSasha Levin <sashal@kernel.org>
Tue, 30 Jun 2020 19:36:47 +0000 (15:36 -0400)
commit8ae850cddf27b7b354b6abe207c5b7c05d615a53
treeeccd3c90b9db21ab94632cc8cddf6b99af54b350
parent052a7fdd86fba7820618717571df6bb23018a5c1
Revert "i2c: tegra: Fix suspending in active runtime PM state"

[ 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>
drivers/i2c/busses/i2c-tegra.c