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

This reverts commit 2d00316f5350f07ea0ff5807d46556f8c02e86ae.

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 710d2b977d56 ("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