author | Daniel Mack <zonque@gmail.com> | |
Wed, 13 Nov 2013 14:32:06 +0000 (08:32 -0600) | ||
committer | Rajendra Nayak <rnayak@ti.com> | |
Thu, 14 Nov 2013 07:09:18 +0000 (12:39 +0530) | ||
commit | f8f9a8c38644d27dc8671009209922531b072110 | |
tree | d7bb6f912ce3a4b66dc99c41967bd5a756b2dabe | tree | snapshot (tar.xz tar.gz zip) |
parent | dfc2e2a6cada6725097340001fcb74b242bbf8c1 | commit | diff |
ARM: omap: edma: add suspend suspend/resume hooks(v4-modified)
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>
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>
arch/arm/common/edma.c | diff | blob | history |