diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-12-22 11:43:29 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-01-06 11:12:27 +0100 |
commit | 8b648436eb45c1f561164b24aafd35fb2bee9cfc (patch) | |
tree | 5006799243ec01f2b89991b6586938d94a3ff892 /drivers/dma/sh | |
parent | dmaengine: mv_xor: de-duplicate mv_chan_set_mode*() (diff) | |
download | linux-8b648436eb45c1f561164b24aafd35fb2bee9cfc.tar.xz linux-8b648436eb45c1f561164b24aafd35fb2bee9cfc.zip |
dmaengine: mv_xor: add suspend/resume support
This commit adds suspend/resume support to the mv_xor driver. The
config and interrupt mask registers must be saved and restored, and
upon resume, the MBus windows configuration must also be done again.
Tested on Armada 388 GP, with a RAID 5 array, accessed before and
after a suspend to RAM cycle.
Based on work from Ofer Heifetz and Lior Amsalem.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sh')
0 files changed, 0 insertions, 0 deletions