mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
trm290: use ide_execute_command()
Acked-by: Sergei Shtylyov <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
2d6027f087
commit
c78d717210
1 changed files with 1 additions and 4 deletions
|
|
@ -177,10 +177,7 @@ static void trm290_selectproc (ide_drive_t *drive)
|
|||
|
||||
static void trm290_dma_exec_cmd(ide_drive_t *drive, u8 command)
|
||||
{
|
||||
BUG_ON(HWGROUP(drive)->handler != NULL); /* paranoia check */
|
||||
ide_set_handler(drive, &ide_dma_intr, WAIT_CMD, NULL);
|
||||
/* issue cmd to drive */
|
||||
outb(command, IDE_COMMAND_REG);
|
||||
ide_execute_command(drive, command, &ide_dma_intr, WAIT_CMD, NULL);
|
||||
}
|
||||
|
||||
static int trm290_dma_setup(ide_drive_t *drive)
|
||||
|
|
|
|||
Loading…
Reference in a new issue