ARM: tegra: cpuidle: Handle tick broadcasting within cpuidle core on Tegra20/30
authorDmitry Osipenko <digetx@gmail.com>
Sun, 24 Feb 2019 15:21:14 +0000 (18:21 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 18 Apr 2019 09:32:57 +0000 (11:32 +0200)
commit36841ba2796324507452f9854bf08b2c65836cce
treea4bf1510da53006151d60e215c897f606698d4e7
parent40b2bb1b132a0f07e8ebbdc364e28270c9dbbc08
ARM: tegra: cpuidle: Handle tick broadcasting within cpuidle core on Tegra20/30

Tegra20/30 drivers do not handle the tick_broadcast_enter() error which
potentially could happen when CPU timer isn't permitted to be stopped.
Let's just move out the broadcasting to the CPUIDLE core by setting the
respective flag in the Tegra20/30 drivers. This patch doesn't fix any
problem because currently tick_broadcast_enter() could fail only on
ARM64, so consider this change as a minor cleanup.

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