aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/ide-atapi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c
index d937e45a6777..f591166d2c93 100644
--- a/drivers/ide/ide-atapi.c
+++ b/drivers/ide/ide-atapi.c
@@ -613,6 +613,10 @@ static ide_startstop_t ide_transfer_pc(ide_drive_t *drive)
613 : ide_pc_intr), 613 : ide_pc_intr),
614 timeout); 614 timeout);
615 615
616 /* Send the actual packet */
617 if ((drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) == 0)
618 hwif->tp_ops->output_data(drive, NULL, rq->cmd, cmd_len);
619
616 /* Begin DMA, if necessary */ 620 /* Begin DMA, if necessary */
617 if (dev_is_idecd(drive)) { 621 if (dev_is_idecd(drive)) {
618 if (drive->dma) 622 if (drive->dma)
@@ -624,10 +628,6 @@ static ide_startstop_t ide_transfer_pc(ide_drive_t *drive)
624 } 628 }
625 } 629 }
626 630
627 /* Send the actual packet */
628 if ((drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) == 0)
629 hwif->tp_ops->output_data(drive, NULL, rq->cmd, cmd_len);
630
631 return ide_started; 631 return ide_started;
632} 632}
633 633