Commit fd3a683
committed
ata: libata-core: Fix ata_pci_shutdown_one()
This reverts commit 5b6fba5.
Commit 5b6fba5 ("ata: libata-core: Detach a port devices on
shutdown") modified the function ata_pci_shutdown_one() to stop
(suspend) devices attached to the ports of a PCI AHCI adapter to ensure
that drives are spun down before shutting down a system. However, this
is done only for PCI adapters and not for other types of adapters. This
limitation was addressed with commit 24eca2d ("scsi: sd: Introduce
manage_shutdown device flag"). With this, all ATA disks are spun down on
system shutdown, which make the changes introduced with 5b6fba5
useless.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>1 parent 13d88ac commit fd3a683
1 file changed
Lines changed: 1 addition & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6180 | 6180 | | |
6181 | 6181 | | |
6182 | 6182 | | |
6183 | | - | |
6184 | | - | |
6185 | 6183 | | |
6186 | 6184 | | |
6187 | | - | |
6188 | | - | |
6189 | | - | |
6190 | | - | |
6191 | | - | |
6192 | | - | |
6193 | | - | |
6194 | | - | |
6195 | | - | |
6196 | 6185 | | |
6197 | | - | |
6198 | | - | |
6199 | | - | |
6200 | | - | |
| 6186 | + | |
6201 | 6187 | | |
6202 | 6188 | | |
6203 | 6189 | | |
| |||
0 commit comments