ide: move drive->using_dma check to callers of ->dma_host_on method

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
Bartlomiej Zolnierkiewicz
2008-01-26 20:13:02 +01:00
parent 8ae60e34dd
commit f37aaf9ede
4 changed files with 5 additions and 5 deletions

View File

@ -109,8 +109,7 @@ static void cs5520_set_dma_mode(ide_drive_t *drive, const u8 speed)
static void cs5520_dma_host_on(ide_drive_t *drive)
{
if (drive->using_dma)
drive->vdma = 1;
drive->vdma = 1;
ide_dma_host_on(drive);
}