timing API will get this right anyway */
}
-static inline void
-ata_queue_packet_task(struct ata_port *ap)
-{
- queue_work(ata_wq, &ap->packet_task);
-}
-
static inline void
ata_queue_pio_task(struct ata_port *ap)
{
ap->hsm_task_state = HSM_ST_LAST;
if (qc->tf.flags & ATA_TFLAG_POLLING)
- queue_work(ata_wq, &ap->pio_task);
+ ata_queue_pio_task(ap);
break;
/* send cdb by polling if no cdb interrupt */
if ((!(qc->dev->flags & ATA_DFLAG_CDB_INTR)) ||
(qc->tf.flags & ATA_TFLAG_POLLING))
- ata_queue_packet_task(ap);
+ ata_queue_pio_task(ap);
break;
case ATA_PROT_ATAPI_DMA:
/* send cdb by polling if no cdb interrupt */
if (!(qc->dev->flags & ATA_DFLAG_CDB_INTR))
- ata_queue_packet_task(ap);
+ ata_queue_pio_task(ap);
break;
default: