[PATCH] libata-dev: wait idle after reading the last data block
authorAlbert Lee <albertcc@tw.ibm.com>
Sat, 25 Mar 2006 10:18:15 +0000 (18:18 +0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 29 Mar 2006 22:22:36 +0000 (17:22 -0500)
commit52a3220599647ba429fcbca2388ec35b850fa72f
tree7c2c775c130d852c94029807cb4a061e7d96dcbd
parent71601958f73b952281f2b02e16d1f11c99ee0a8b
[PATCH] libata-dev: wait idle after reading the last data block

Some CD-ROM drives are slow to clear DRQ, after the last data block
is read by PIO. Use ata_wait_idle() after reading the last data block.

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c