From: Brian Norris Date: Fri, 2 Nov 2012 07:46:17 +0000 (-0700) Subject: ahci_platform: perform platform exit in host_stop() hook X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~5^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1896b15eddb4ff7266bccf3efa981885ecf80ab1;p=pandora-kernel.git ahci_platform: perform platform exit in host_stop() hook AHCI platform devices may provide an exit() routine, via ahci_platform_data, that powers off the SATA core. Such a routine should be executed from the ata_port_operations host_stop() hook. That way, the ATA subsystem can perform any last-minute hardware cleanup (via devres, for example), then trigger the power-off at the appropriate time. This patch fixes bus errors triggered during module removal or device unbinding, seen on an SoC SATA core. Signed-off-by: Brian Norris Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed