Skip to content
Snippets Groups Projects
Commit 15fe982e authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

ahci: retry enabling AHCI a few times before spitting out WARN_ON()


Some chips need AHCI_EN set more than once to actually set it.  Try a
few times before giving up and spitting out WARN_ON().

Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
Cc: Peer Chen <pchen@nvidia.com>
Cc: Volker Armin Hemmann <volker.armin.hemmann@tu-clausthal.de>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 411cb386
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment