Skip to content

Commit

Permalink
power: reset: at91-sama5d2_shdwc: fix clobber list
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Belloni authored and Sebastian Reichel committed Jun 8, 2017
1 parent 2e9bbbf commit be04a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/reset/at91-sama5d2_shdwc.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static void at91_lpddr_poweroff(void)
"r" cpu_to_le32(AT91_DDRSDRC_LPDDR2_PWOFF),
"r" (at91_shdwc->at91_shdwc_base),
"r" cpu_to_le32(AT91_SHDW_KEY | AT91_SHDW_SHDW)
: "r0");
: "r6");
}

static u32 at91_shdwc_debouncer_value(struct platform_device *pdev,
Expand Down

0 comments on commit be04a0d

Please sign in to comment.