]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit401f7b65cf43a77c0e91aced2a8cd84ee4af64db
tree83428d4d11b732c65c3c98dc82705c9180b8edca
parent32eb8f46ebf3c0b2899b4ba22d9cd3d1e0974468
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