From: Daniel Mack Date: Tue, 26 Aug 2014 08:52:53 +0000 (+0200) Subject: ARM: common: edma: add suspend resume hook X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~13^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2b1175131ccb5d4a15456f4f31836356abbce09;p=pandora-kernel.git ARM: common: edma: add suspend resume hook This patch makes the edma driver resume correctly after suspend. Tested on an AM33xx platform with cyclic audio streams and omap_hsmmc. All information can be reconstructed by already known runtime information. As we now use some functions that were previously only used from __init context, annotations had to be dropped. [nm@ti.com: added error handling for runtime + suspend_late/early_resume] Signed-off-by: Nishanth Menon Signed-off-by: Daniel Mack Tested-by: Joel Fernandes Acked-by: Joel Fernandes [nsekhar@ti.com: remove unneeded pm_runtime_get_sync() from resume] Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed