diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/ata/libata-sff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c index 114fa81deb83..942aeba2940a 100644 --- a/drivers/ata/libata-sff.c +++ b/drivers/ata/libata-sff.c | |||
| @@ -827,7 +827,8 @@ void ata_bmdma_error_handler(struct ata_port *ap) | |||
| 827 | */ | 827 | */ |
| 828 | void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc) | 828 | void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc) |
| 829 | { | 829 | { |
| 830 | ata_bmdma_stop(qc); | 830 | if (qc->ap->ioaddr.bmdma_addr) |
| 831 | ata_bmdma_stop(qc); | ||
| 831 | } | 832 | } |
| 832 | 833 | ||
| 833 | #ifdef CONFIG_PCI | 834 | #ifdef CONFIG_PCI |
