aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-atapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-atapi.c')
-rw-r--r--drivers/ide/ide-atapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c
index f1b1b71cb74c..f7fe1decb59d 100644
--- a/drivers/ide/ide-atapi.c
+++ b/drivers/ide/ide-atapi.c
@@ -691,8 +691,9 @@ ide_startstop_t ide_issue_pc(ide_drive_t *drive, struct ide_cmd *cmd)
691 if (drive->atapi_flags & IDE_AFLAG_DRQ_INTERRUPT) { 691 if (drive->atapi_flags & IDE_AFLAG_DRQ_INTERRUPT) {
692 if (drive->dma) 692 if (drive->dma)
693 drive->waiting_for_dma = 0; 693 drive->waiting_for_dma = 0;
694 hwif->expiry = expiry;
694 ide_execute_command(drive, ATA_CMD_PACKET, ide_transfer_pc, 695 ide_execute_command(drive, ATA_CMD_PACKET, ide_transfer_pc,
695 timeout, expiry); 696 timeout);
696 return ide_started; 697 return ide_started;
697 } else { 698 } else {
698 ide_execute_pkt_cmd(drive); 699 ide_execute_pkt_cmd(drive);