]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ahci: retry enabling AHCI a few times before spitting out WARN_ON()
authorTejun Heo <htejun@gmail.com>
Wed, 23 Apr 2008 11:52:58 +0000 (20:52 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 04:45:13 +0000 (00:45 -0400)
commit15fe982e429e0e6b7466719acb6cfd9dbfe47f0c
treede5ac9b692257050bf8dbdb6ebe02e780fddad46
parent411cb3869afd91ed40e8f12df64cd9e315356305
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: Tejun Heo <htejun@gmail.com>
Cc: Peer Chen <pchen@nvidia.com>
Cc: Volker Armin Hemmann <volker.armin.hemmann@tu-clausthal.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c