Commit b99c2656 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Linus Torvalds

[PATCH] ide: fix ide_cs oops with TCQ

From Matias Alejo Garcia <kernel@matiu.com.ar>.
parent 73790646
...@@ -1689,7 +1689,8 @@ static void idedisk_setup (ide_drive_t *drive) ...@@ -1689,7 +1689,8 @@ static void idedisk_setup (ide_drive_t *drive)
write_cache(drive, (id->cfs_enable_2 & 0x3000)); write_cache(drive, (id->cfs_enable_2 & 0x3000));
#ifdef CONFIG_BLK_DEV_IDE_TCQ_DEFAULT #ifdef CONFIG_BLK_DEV_IDE_TCQ_DEFAULT
HWIF(drive)->ide_dma_queued_on(drive); if (drive->using_dma)
HWIF(drive)->ide_dma_queued_on(drive);
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment