From 375d71865bc30af549bb08fcfdce61e81a9a18fe Mon Sep 17 00:00:00 2001 From: Richard Zhu Date: Tue, 10 Jul 2012 13:14:02 +0800 Subject: ENGR00215810-2 AHCI: sata drops to 1.5Gbps after suspend/resume several times Add the AHCI platform suspend/resume function callback to fix this issue. Signed-off-by: Richard Zhu --- include/linux/ahci_platform.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/linux/ahci_platform.h b/include/linux/ahci_platform.h index be3d9a77d6ed..73a25005d88a 100644 --- a/include/linux/ahci_platform.h +++ b/include/linux/ahci_platform.h @@ -23,6 +23,8 @@ struct ata_port_info; struct ahci_platform_data { int (*init)(struct device *dev, void __iomem *addr); void (*exit)(struct device *dev); + int (*suspend)(struct device *dev); + int (*resume)(struct device *dev); const struct ata_port_info *ata_port_info; unsigned int force_port_map; unsigned int mask_port_map; -- cgit v1.2.3