Commit 31433ea3 authored by Alan Cox's avatar Alan Cox Committed by Jeff Garzik

[PATCH] libata: typo

You spelt heuristic wrongly. Also reformatted to 80 columns,
ignore the diff and fix the typo if you prefer that.
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent b8f6153e
...@@ -2459,11 +2459,10 @@ static void ata_pio_complete (struct ata_port *ap) ...@@ -2459,11 +2459,10 @@ static void ata_pio_complete (struct ata_port *ap)
u8 drv_stat; u8 drv_stat;
/* /*
* This is purely hueristic. This is a fast path. * This is purely heuristic. This is a fast path. Sometimes when
* Sometimes when we enter, BSY will be cleared in * we enter, BSY will be cleared in a chk-status or two. If not,
* a chk-status or two. If not, the drive is probably seeking * the drive is probably seeking or something. Snooze for a couple
* or something. Snooze for a couple msecs, then * msecs, then chk-status again. If still busy, fall back to
* chk-status again. If still busy, fall back to
* PIO_ST_POLL state. * PIO_ST_POLL state.
*/ */
drv_stat = ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 10); drv_stat = ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 10);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment