summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorBrian Norris2012-11-02 08:46:17 +0100
committerJeff Garzik2012-12-03 11:15:15 +0100
commit1896b15eddb4ff7266bccf3efa981885ecf80ab1 (patch)
tree81d96f5b9db3cabf778346d39ece8d7a571ab2dc /drivers/devfreq
parentahci_platform: convert to module_platform_driver (diff)
downloadkernel-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/devfreq')
0 files changed, 0 insertions, 0 deletions