linux-stable/drivers/soc/tegra
Dmitry Osipenko a1ad124c83 soc/tegra: regulators: Fix locking up when voltage-spread is out of range
commit ef85bb582c upstream.

Fix voltage coupler lockup which happens when voltage-spread is out
of range due to a bug in the code. The max-spread requirement shall be
accounted when CPU regulator doesn't have consumers. This problem is
observed on Tegra30 Ouya game console once system-wide DVFS is enabled
in a device-tree.

Fixes: 783807436f ("soc/tegra: regulators: Add regulators coupler for Tegra30")
Cc: stable@vger.kernel.org
Reported-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Peter Geis <pgwipeout@gmail.com> # Ouya T30
Tested-by: Matt Merhar <mattmerhar@protonmail.com> # Ouya T30
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-14 09:49:58 +02:00
..
fuse soc/tegra: fuse: Fix index bug in get_process_id 2020-12-26 16:02:38 +01:00
common.c
flowctrl.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
Kconfig arm64: tegra: Initial Tegra234 VDK support 2020-09-18 15:58:07 +02:00
Makefile soc/tegra: regulators: Add regulators coupler for Tegra30 2019-10-29 14:02:59 +01:00
pmc.c soc/tegra: pmc: Fix completion of power-gate toggling 2021-05-11 14:47:18 +02:00
powergate-bpmp.c
regulators-tegra20.c soc/tegra: regulators: Do nothing if voltage is unchanged 2020-01-10 15:42:58 +01:00
regulators-tegra30.c soc/tegra: regulators: Fix locking up when voltage-spread is out of range 2021-05-14 09:49:58 +02:00