Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29342
b: refs/heads/master
c: 467b16d
h: refs/heads/master
v: v3
  • Loading branch information
Albert Lee authored and Jeff Garzik committed Nov 9, 2005
1 parent 7b855a0 commit edcd262
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c7c6e9494cc9a4a5b1a2ca870ed4531ad2b98a83
refs/heads/master: 467b16d4bebe8d251ca974eaa5da50b315206e9d
9 changes: 6 additions & 3 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3317,6 +3317,8 @@ static void ata_pio_block(struct ata_port *ap)

ata_pio_sector(qc);
}

ata_altstatus(ap); /* flush */
}

static void ata_pio_error(struct ata_port *ap)
Expand Down Expand Up @@ -3344,9 +3346,6 @@ static void ata_pio_task(void *_data)
qc_completed = 0;

switch (ap->hsm_task_state) {
case HSM_ST_IDLE:
return;

case HSM_ST:
ata_pio_block(ap);
break;
Expand All @@ -3364,6 +3363,10 @@ static void ata_pio_task(void *_data)
case HSM_ST_ERR:
ata_pio_error(ap);
return;

default:
BUG();
return;
}

if (timeout)
Expand Down

0 comments on commit edcd262

Please sign in to comment.