ARM: common: edma: add suspend resume hook
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.

[50c3c575ce2bb12c45e20736ce59e86fe81915b4@ti.com: added error handling for runtime + suspend_late/early_resume]
Signed-off-by: Nishanth Menon <50c3c575ce2bb12c45e20736ce59e86fe81915b4@ti.com>
Signed-off-by: Daniel Mack <70806a71956ed8873ecff8522779dae1401a1b4a@gmail.com>
Tested-by: Joel Fernandes <79b252d5caac623cbab67c059402178ee09b8945@ti.com>
Acked-by: Joel Fernandes <79b252d5caac623cbab67c059402178ee09b8945@ti.com>
[946cfb81282bb55c59f600e7ee3d3b2c6973f7a3@ti.com: remove unneeded pm_runtime_get_sync() from resume]
Signed-off-by: Sekhar Nori <946cfb81282bb55c59f600e7ee3d3b2c6973f7a3@ti.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs