ata: ahci_mvebu: add suspend/resume support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 17 Jun 2015 12:11:01 +0000 (14:11 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 17 Jun 2015 18:25:53 +0000 (14:25 -0400)
commitd6ecf158148883be1588859c46d6d424513e2e0d
tree83428d4d11b732c65c3c98dc82705c9180b8edca
parent34c56932ce5278b8bbae13936f9df05cd59e3193
ata: ahci_mvebu: add suspend/resume support

This commit adds suspend/resume support to the ahci_mvebu driver. The
suspend hook doesn't do anything special despite calling the generic
ahci_platform_suspend_host() function. However, the resume hook has to
restore the MBus windows configuration, as well as the regret option.

Tested on Marvell Armada 388 GP.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_mvebu.c