Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b187dfee authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

ide-cris: use ide_execute_command()

parent c78d7172
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1034,11 +1034,7 @@ static int cris_dma_setup(ide_drive_t *drive)

static void cris_dma_exec_cmd(ide_drive_t *drive, u8 command)
{
	/* set the irq handler which will finish the request when DMA is done */
	ide_set_handler(drive, &cris_dma_intr, WAIT_CMD, NULL);

	/* issue cmd to drive */
	cris_ide_outb(command, IDE_COMMAND_REG);
	ide_execute_command(drive, command, &cris_dma_intr, WAIT_CMD, NULL);
}

static void cris_dma_start(ide_drive_t *drive)