projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218d11a
)
Revert "ide: respect current DMA setting during resume"
author
Bartlomiej Zolnierkiewicz
<
[email protected]
>
Mon, 8 Dec 2008 16:42:35 +0000
(17:42 +0100)
committer
Bartlomiej Zolnierkiewicz
<
[email protected]
>
Mon, 8 Dec 2008 16:42:35 +0000
(17:42 +0100)
This reverts commit
e9eb8388306364295308132265c00bea685f409f
since
it could break resume (thanks to Paul Collins for the report).
I'll look into sorting this out properly for 2.6.29
but for 2.6.28 it is the best to just revert my patch.
Reported-by: Paul Collins <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Bartlomiej Zolnierkiewicz <
[email protected]
>
drivers/ide/ide-io.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-io.c
b/drivers/ide/ide-io.c
index 7d275b2af3eb74a0c4db266fd4d9c7540f061793..cc35d6dbd41026d02cdc1ab5a32085cc8c63e0db 100644
(file)
--- a/
drivers/ide/ide-io.c
+++ b/
drivers/ide/ide-io.c
@@
-208,8
+208,10
@@
static ide_startstop_t ide_start_power_step(ide_drive_t *drive, struct request *
*/
if (drive->hwif->dma_ops == NULL)
break;
- if (drive->dev_flags & IDE_DFLAG_USING_DMA)
- ide_set_dma(drive);
+ /*
+ * TODO: respect IDE_DFLAG_USING_DMA
+ */
+ ide_set_dma(drive);
break;
}