Skip to content
Commit a2b11751 authored by Daniel Mack's avatar Daniel Mack Committed by Sekhar Nori
Browse files

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: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
Tested-by: default avatarJoel Fernandes <joelf@ti.com>
Acked-by: default avatarJoel Fernandes <joelf@ti.com>
[nsekhar@ti.com: remove unneeded pm_runtime_get_sync() from resume]
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent f114040e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment