diff options
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r-- | drivers/ide/ide-cd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 5319e7a73708..4a0d66ee9547 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -639,6 +639,7 @@ static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive) | |||
639 | if (dma) { | 639 | if (dma) { |
640 | drive->dma = 0; | 640 | drive->dma = 0; |
641 | dma_error = hwif->dma_ops->dma_end(drive); | 641 | dma_error = hwif->dma_ops->dma_end(drive); |
642 | ide_destroy_dmatable(drive); | ||
642 | if (dma_error) { | 643 | if (dma_error) { |
643 | printk(KERN_ERR PFX "%s: DMA %s error\n", drive->name, | 644 | printk(KERN_ERR PFX "%s: DMA %s error\n", drive->name, |
644 | write ? "write" : "read"); | 645 | write ? "write" : "read"); |