commit | 3b61e5121d5c4d0ea79fe90ced8df2fe5cb67dc2 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Tue Jan 30 11:02:55 2018 +0100 |
committer | Tejun Heo <tj@kernel.org> | Mon Feb 12 09:17:23 2018 -0800 |
tree | 43ba1a2f9308a993f08299e2a14c35c44fe246e4 | |
parent | 0d3e45bc6507bd1f8728bf586ebd16c2d9e40613 [diff] |
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>