]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/ide-cd.c
ide: set/clear drive->waiting_for_dma flag in the core code
[linux-2.6-omap-h63xx.git] / drivers / ide / ide-cd.c
index 4a0d66ee9547345501a80694d3412795bf0fa4d5..f5c7bb739f455198d0acd72dcdf11fc67ddb6d53 100644 (file)
@@ -638,6 +638,7 @@ static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive)
        dma = drive->dma;
        if (dma) {
                drive->dma = 0;
+               drive->waiting_for_dma = 0;
                dma_error = hwif->dma_ops->dma_end(drive);
                ide_destroy_dmatable(drive);
                if (dma_error) {