ARM: trusted_foundations: Make prepare_idle call to take mode argument
authorDmitry Osipenko <digetx@gmail.com>
Thu, 23 Aug 2018 17:25:32 +0000 (20:25 +0300)
committerDmitry Osipenko <digetx@gmail.com>
Sat, 9 Feb 2019 19:15:30 +0000 (22:15 +0300)
commit32e3792ba3d63e9253bd859e025969fad96e25c0
treea68997bed2ed8ea22e331f5a922948352181b747
parentb3468361015b168c3ee297bb46f377a3509f4232
ARM: trusted_foundations: Make prepare_idle call to take mode argument

The Trusted Foundations firmware call varies depending on the required
suspend-mode. Make the firmware API to take the mode argument in order
to expose all of the modes to firmware user.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
arch/arm/firmware/trusted_foundations.c
arch/arm/include/asm/firmware.h
arch/arm/include/asm/trusted_foundations.h
arch/arm/mach-tegra/cpuidle-tegra114.c