summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-06-07 13:15:08 (GMT)
committerJeff Garzik <jgarzik@redhat.com>2010-06-07 20:03:15 (GMT)
commit0ee719527229fa86ace8e3abccae3c2a8bbfd6db (patch)
tree7c9e76554f55af8101f38b8e3338529b66b4d275 /drivers/hwmon
parent7a4f876b876afb13856a79a0402f71b9dfbe86a8 (diff)
downloadlinux-fsl-qoriq-0ee719527229fa86ace8e3abccae3c2a8bbfd6db.tar.xz
ahci: redo stopping DMA engines on empty ports
Commit 96d60303fd (ahci: Turn off DMA engines when there's no device) implemented stopping DMA engines on empty ports but it used single sampling of status registers to determine device presence which led to disabling of DMA engines on occupied ports. Do it after all EH actions are complete using device presence state determined by EH. This avoids spurious disabling of DMA engines and simplifies the code. Signed-off-by: Tejun Heo <tj@kernel.org> Tested-by: Marc Dionne <marc.c.dionne@gmail.com> Cc: Matthew Garrett <mjg@redhat.com> Cc: Robert Hancock <hancockrwd@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions