]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ARM: tegra: Propagate error from tegra_idle_lp2_last()
authorDmitry Osipenko <digetx@gmail.com>
Mon, 24 Feb 2020 22:40:45 +0000 (01:40 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 12 Mar 2020 09:54:05 +0000 (10:54 +0100)
commit891e1286c138eafb26d1f36eee3f31b8cd2c2bd9
treeb64239faed7373f54c4de088a0a630e0f98916e9
parentf5619492c80ba021e267de245bb78b485d1802c5
ARM: tegra: Propagate error from tegra_idle_lp2_last()

Technically cpu_suspend() may fail and it's never good to lose information
about failure. For example things like cpuidle core could correctly sample
idling time in the case of failure.

Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Tested-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Jasper Korten <jja2000@gmail.com>
Tested-by: David Heidelberg <david@ixit.cz>
Tested-by: Nicolas Chauvet <kwizart@gmail.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>
arch/arm/mach-tegra/cpuidle-tegra20.c
arch/arm/mach-tegra/cpuidle-tegra30.c
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/pm.h