diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-05-31 12:49:14 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-06-08 14:05:28 +0300 |
commit | 2e9bbbf694fd9ed4d96a303dadce4d8ccf2a4af3 (patch) | |
tree | 0fe395cd8ba8cf8cb6b538524634fcb0ae639a4e /drivers/power | |
parent | 49fb384653810167dca26812217d0235bece0367 (diff) | |
download | linux-2e9bbbf694fd9ed4d96a303dadce4d8ccf2a4af3.tar.xz |
power: reset: at91-poweroff: fix clobber list
Assembly in at91_lpddr_poweroff has r0 in the clobber list but uses r6.
Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/reset/at91-poweroff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/at91-poweroff.c b/drivers/power/reset/at91-poweroff.c index c6c3beea72f9..c30c40193aaa 100644 --- a/drivers/power/reset/at91-poweroff.c +++ b/drivers/power/reset/at91-poweroff.c @@ -97,7 +97,7 @@ static void at91_lpddr_poweroff(void) "r" cpu_to_le32(AT91_DDRSDRC_LPDDR2_PWOFF), "r" (at91_shdwc_base), "r" cpu_to_le32(AT91_SHDW_KEY | AT91_SHDW_SHDW) - : "r0"); + : "r6"); } static int at91_poweroff_get_wakeup_mode(struct device_node *np) |