projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d6027f
)
trm290: use ide_execute_command()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:44 +0000
(19:56 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:44 +0000
(19:56 +0100)
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/trm290.c
patch
|
blob
|
history
diff --git
a/drivers/ide/pci/trm290.c
b/drivers/ide/pci/trm290.c
index e3d58c9f05e01d1db74a2afd535570a3a636131c..de750f7a43e97f12725a7673c3557b6ab1ed38b8 100644
(file)
--- a/
drivers/ide/pci/trm290.c
+++ b/
drivers/ide/pci/trm290.c
@@
-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)