projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3619348
)
[PATCH] ide: if the id fields looks screwy, disable DMA
author
Jens Axboe
<axboe@suse.de>
Fri, 28 Jul 2006 06:58:26 +0000
(08:58 +0200)
committer
Jens Axboe
<axboe@suse.de>
Fri, 28 Jul 2006 06:58:26 +0000
(08:58 +0200)
It's the safer choice. Originally due to a bug in itx821x, but a
generally sound thing to do.
Signed-off-by: Jens Axboe <axboe@suse.de>
drivers/ide/ide-dma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ide/ide-dma.c
b/drivers/ide/ide-dma.c
index 98918fb6b2ce32a8854fa4c05068e2fc9ad184c4..7c3a13e1cf647a4cbca6ee39c327c36f9de8d422 100644
(file)
--- a/
drivers/ide/ide-dma.c
+++ b/
drivers/ide/ide-dma.c
@@
-750,7
+750,7
@@
void ide_dma_verbose(ide_drive_t *drive)
goto bug_dma_off;
printk(", DMA");
} else if (id->field_valid & 1) {
-
printk(", BUG")
;
+
goto bug_dma_off
;
}
return;
bug_dma_off: