Skip to content
Commit 3b61e512 authored by Stefan Roese's avatar Stefan Roese Committed by Tejun Heo
Browse files

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: default avatarStefan Roese <sr@denx.de>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 0d3e45bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment