aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r--drivers/ide/ide-cd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index 1c1ba43c263c..2cb301dccd21 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -593,13 +593,13 @@ static ide_startstop_t cdrom_transfer_packet_command(ide_drive_t *drive)
593 if (cmd_len < ATAPI_MIN_CDB_BYTES) 593 if (cmd_len < ATAPI_MIN_CDB_BYTES)
594 cmd_len = ATAPI_MIN_CDB_BYTES; 594 cmd_len = ATAPI_MIN_CDB_BYTES;
595 595
596 /* send the command to the device */
597 hwif->tp_ops->output_data(drive, NULL, rq->cmd, cmd_len);
598
599 /* start the DMA if need be */ 596 /* start the DMA if need be */
600 if (drive->dma) 597 if (drive->dma)
601 hwif->dma_ops->dma_start(drive); 598 hwif->dma_ops->dma_start(drive);
602 599
600 /* send the command to the device */
601 hwif->tp_ops->output_data(drive, NULL, rq->cmd, cmd_len);
602
603 return ide_started; 603 return ide_started;
604} 604}
605 605