OSDN Git Service

ARM: tegra: Initialize r0 register for firmware wake-up
authorDmitry Osipenko <digetx@gmail.com>
Tue, 24 Mar 2020 22:43:33 +0000 (01:43 +0300)
committerThierry Reding <treding@nvidia.com>
Wed, 6 May 2020 16:29:04 +0000 (18:29 +0200)
commit36dc3b1a7e9dd332d224cc187acdaa9f2023a1f1
treef1dd3eff3b54b8c927ba37ae76a97f49c70be947
parent836ca00819832fae9d5aacda23637a7e58a6bdbd
ARM: tegra: Initialize r0 register for firmware wake-up

Downstream kernel of ASUS TF300T sets r0 to #3. There is no explanation in
downstream code whether this is really needed and some of T30 downstream
kernels have and explicit comment telling that all arguments are ignored
by firmware. Let's take a safe side by replicating behavior of the TF300T
downstream kernel. This change works fine on Ouya and Nexus 7 devices.

Tested-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Tested-by: Jasper Korten <jja2000@gmail.com>
Tested-by: David Heidelberg <david@ixit.cz>
Tested-by: Peter Geis <pgwipeout@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/mach-tegra/reset-handler.S