From: Wenyou Yang Date: Mon, 9 Mar 2015 03:49:01 +0000 (+0800) Subject: ARM: at91/pm: move the copying the sram function to the sram initialization phase X-Git-Tag: omap-for-v4.1/fixes-rc1~65^2~7^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d94e688cae5661b18164fb7366d1696a1921baba;p=pandora-kernel.git ARM: at91/pm: move the copying the sram function to the sram initialization phase To decrease the suspend time, move copying the sram function to the sram initialization phase, instead of every time go to suspend. In the meanwhile, substitute fncpy() for memcpy(). If there is no sram allocated for PM, the PM is not supported. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni Tested-by: Sylvain Rochet Signed-off-by: Nicolas Ferre --- Reading git-diff-tree failed