ide: use ->tf_read in ide_read_error()
[firefly-linux-kernel-4.4.55.git] / drivers / ide / ide-atapi.c
index 2802031de670a3bfa3f211e9c6a31a184e040948..6554c4225a05550ffd78c77ae6bdc64b2f4d8819 100644 (file)
@@ -35,7 +35,7 @@ ide_startstop_t ide_pc_intr(ide_drive_t *drive, struct ide_atapi_pc *pc,
        }
 
        /* Clear the interrupt */
-       stat = ide_read_status(drive);
+       stat = hwif->read_status(hwif);
 
        if (pc->flags & PC_FLAG_DMA_IN_PROGRESS) {
                if (hwif->dma_ops->dma_end(drive) ||