diff options
author | Brian Norris | 2012-11-02 08:46:17 +0100 |
---|---|---|
committer | Jeff Garzik | 2012-12-03 11:15:15 +0100 |
commit | 1896b15eddb4ff7266bccf3efa981885ecf80ab1 (patch) | |
tree | 81d96f5b9db3cabf778346d39ece8d7a571ab2dc /drivers/vhost | |
parent | ahci_platform: convert to module_platform_driver (diff) | |
download | kernel-qcow2-linux-1896b15eddb4ff7266bccf3efa981885ecf80ab1.tar.gz kernel-qcow2-linux-1896b15eddb4ff7266bccf3efa981885ecf80ab1.tar.xz kernel-qcow2-linux-1896b15eddb4ff7266bccf3efa981885ecf80ab1.zip |
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 <computersforpeace@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions