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)
committerThierry Reding <treding@nvidia.com>
Thu, 7 May 2020 09:45:45 +0000 (11:45 +0200)
commit78ad73421831247e46c31899a7bead02740e4bef
tree21a419225932d1a4b2d387842955f6d26572642c
parent0e698dfa282211e414076f9dc7e83c1c288314fd
Revert "i2c: tegra: Fix suspending in active runtime PM state"

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