summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libahci_platform.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2018-01-30 11:02:55 +0100
committerTejun Heo <tj@kernel.org>2018-02-12 18:17:23 +0100
commit3b61e5121d5c4d0ea79fe90ced8df2fe5cb67dc2 (patch)
tree43ba1a2f9308a993f08299e2a14c35c44fe246e4 /drivers/ata/libahci_platform.c
parentlibata: Fix compile warning with ATA_DEBUG enabled (diff)
downloadlinux-3b61e5121d5c4d0ea79fe90ced8df2fe5cb67dc2.tar.xz
linux-3b61e5121d5c4d0ea79fe90ced8df2fe5cb67dc2.zip
ahci: Add check for device presence (PCIe hot unplug) in ahci_stop_engine()
Exit directly with ENODEV, if the AHCI controller is not available anymore. Otherwise a delay of 500ms for each port is added to the remove function while trying to issue a command on the non-existent controller. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libahci_platform.c')
0 files changed, 0 insertions, 0 deletions