projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libata: improve AC_ERR_DEV handling for ->post_internal_cmd
[powerpc.git]
/
drivers
/
ata
/
sata_inic162x.c
diff --git
a/drivers/ata/sata_inic162x.c
b/drivers/ata/sata_inic162x.c
index
11c3079
..
ca4092a
100644
(file)
--- a/
drivers/ata/sata_inic162x.c
+++ b/
drivers/ata/sata_inic162x.c
@@
-488,7
+488,7
@@
static void inic_error_handler(struct ata_port *ap)
static void inic_post_internal_cmd(struct ata_queued_cmd *qc)
{
/* make DMA engine forget about the failed command */
- if (qc->
err_mask
)
+ if (qc->
flags & ATA_QCFLAG_FAILED
)
inic_reset_port(inic_port_base(qc->ap));
}