From: Tomasz Figa Date: Tue, 23 Sep 2014 16:24:35 +0000 (+0900) Subject: ARM: firmware: Introduce suspend and resume operations X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~14^2~33^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c261f89a30010a33c15e6b7cfc7c79ae6bea653;p=pandora-kernel.git ARM: firmware: Introduce suspend and resume operations This patch extends the firmware_ops structure with two new callbacks: .suspend() and .resume(). The former is intended to ask the firmware to save all its volatile state and suspend the system, without returning back to the kernel in between. The latter is to be called early by very low level platform suspend code after waking up to restore low level hardware state, which can't be restored in non-secure mode. While at it, outdated version of the structure is removed from the documentation and replaced with a reference to the header file. Signed-off-by: Tomasz Figa Acked-by: Alexandre Courbot Signed-off-by: Kukjin Kim --- Reading git-diff-tree failed