summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2008-07-04 07:32:17 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-07-14 21:59:33 +0200
commit24920c8a6358bf5532f1336b990b1c0fe2b599ee (patch)
tree576c2dcbde9c76e13585ed37208640fbd3dba005 /drivers/spi
parent[libata] Add support for VPD page b1 (diff)
downloadlinux-24920c8a6358bf5532f1336b990b1c0fe2b599ee.tar.xz
linux-24920c8a6358bf5532f1336b990b1c0fe2b599ee.zip
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 <rui.zhang@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions