Revert "ide: respect current DMA setting during resume"

This reverts commit e9eb838830 since
it could break resume (thanks to Paul Collins for the report).

I'll look into sorting this out properly for 2.6.29
but for 2.6.28 it is the best to just revert my patch.

Reported-by: Paul Collins <paul@burly.ondioline.org>
Cc: rjw@sisk.pl
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
Bartlomiej Zolnierkiewicz 2008-12-08 17:42:35 +01:00
Родитель 218d11a8b0
Коммит 1a659880ee
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -208,8 +208,10 @@ static ide_startstop_t ide_start_power_step(ide_drive_t *drive, struct request *
*/ */
if (drive->hwif->dma_ops == NULL) if (drive->hwif->dma_ops == NULL)
break; break;
if (drive->dev_flags & IDE_DFLAG_USING_DMA) /*
ide_set_dma(drive); * TODO: respect IDE_DFLAG_USING_DMA
*/
ide_set_dma(drive);
break; break;
} }