From: Zhang Rui Date: Fri, 4 Jul 2008 05:32:17 +0000 (+0800) Subject: AHCI: speed up resume X-Git-Tag: v2.6.27-rc1~1076^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24920c8a6358bf5532f1336b990b1c0fe2b599ee;p=pandora-kernel.git AHCI: speed up resume During resume, sleep 1 second to wait for the HBA reset to finish is a waste of time. According to the AHCI 1.2 spec, We should poll the HOST_CTL register, and return error if the host reset is not finished within 1 second. Test results show that the HBA reset can be done quickly(in usecs). And this patch may save nearly 1 second during resume. Signed-off-by: Zhang Rui Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed