]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/hwspinlock.git/commit
ARM: omap: edma: add suspend suspend/resume hooks(v4-modified)
authorDaniel Mack <zonque@gmail.com>
Wed, 13 Nov 2013 14:32:06 +0000 (08:32 -0600)
committerRajendra Nayak <rnayak@ti.com>
Thu, 14 Nov 2013 07:09:18 +0000 (12:39 +0530)
commitf8f9a8c38644d27dc8671009209922531b072110
treed7bb6f912ce3a4b66dc99c41967bd5a756b2dabe
parentdfc2e2a6cada6725097340001fcb74b242bbf8c1
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>
arch/arm/common/edma.c