cpuidle: tegra: Disable CC6 state if LP2 unavailable
authorDmitry Osipenko <digetx@gmail.com>
Mon, 24 Feb 2020 22:40:55 +0000 (01:40 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 13 Mar 2020 10:32:01 +0000 (11:32 +0100)
commit382ac8e22b90e6334d373da03c17b319458b258e
tree03fde6acd400a581f1289d008c78f25c5ebfda1a
parent14e086baca509ef244715ad8b6c3f7bf80621e0b
cpuidle: tegra: Disable CC6 state if LP2 unavailable

LP2 suspending could be unavailable, for example if it is disabled in a
device-tree. CC6 cpuidle state won't work in that case.

Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/cpuidle/cpuidle-tegra.c