trm290: trm290_dma_setup() fix
PATCH 1/1 trm290: trm290_dma_setup() fix
Re-map sg table if necessary (not that it really matters since DMA support is disabled currently).
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
---
we should consider removing the driver (or at least DMA support)...
drivers/ide/trm290.c | 1 + 1 file changed, 1 insertion(+)
drivers/ide/trm290.c +1 -0
@@ -198,6 +198,7 @@ static int trm290_dma_setup(ide_drive_t rw =2 ;if (!(count =ide_build_dmatable (drive, rq))) { +ide_map_sg (drive, rq);/* try PIO instead of DMA */ trm290_prepare_drive (drive,0 );/* select PIO xfer */ return 1 ;