ARM: common: edma: add suspend resume hook
authorDaniel Mack <zonque@gmail.com>
Tue, 26 Aug 2014 08:52:53 +0000 (10:52 +0200)
committerSekhar Nori <nsekhar@ti.com>
Tue, 18 Nov 2014 15:56:02 +0000 (21:26 +0530)
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 <nm@ti.com>
Signed-off-by: Daniel Mack <zonque@gmail.com>
Tested-by: Joel Fernandes <joelf@ti.com>
Acked-by: Joel Fernandes <joelf@ti.com>
[nsekhar@ti.com: remove unneeded pm_runtime_get_sync() from resume]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

No differences found