提交 be04a0d7 编写于 作者: A Alexandre Belloni 提交者: Sebastian Reichel

power: reset: at91-sama5d2_shdwc: fix clobber list

Assembly in at91_lpddr_poweroff has r0 in the clobber list but uses r6.
Reported-by: NBen Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: NNicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: NSebastian Reichel <sre@kernel.org>
上级 2e9bbbf6
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册