git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ide: fix enabling DMA on it821x in "smart" mode
[sfrench/cifs-2.6.git]
/
drivers
/
ide
/
ide-dma.c
diff --git
a/drivers/ide/ide-dma.c
b/drivers/ide/ide-dma.c
index 2de99e4be5c9b963ebfbf263884d6f55f1d82d56..d61e5788d310f06dc42c12d7f7cd507e8fa10a39 100644
(file)
--- a/
drivers/ide/ide-dma.c
+++ b/
drivers/ide/ide-dma.c
@@
-713,7
+713,7
@@
static int ide_tune_dma(ide_drive_t *drive)
}
if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)
- return
0
;
+ return
1
;
if (ide_set_dma_mode(drive, speed))
return 0;