projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed48554
)
ide-atapi: setup dma for ide-cd
author
Borislav Petkov
<petkovbb@googlemail.com>
Fri, 2 Jan 2009 15:12:52 +0000
(16:12 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 2 Jan 2009 15:12:52 +0000
(16:12 +0100)
There should be no functional change resulting from this patch.
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-atapi.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-atapi.c
b/drivers/ide/ide-atapi.c
index
b6e0aac
..
74273fd
100644
(file)
--- a/
drivers/ide/ide-atapi.c
+++ b/
drivers/ide/ide-atapi.c
@@
-575,8
+575,9
@@
ide_startstop_t ide_issue_pc(ide_drive_t *drive, unsigned int timeout,
ide_dma_off(drive);
}
- if ((pc->flags & PC_FLAG_DMA_OK) &&
- (drive->dev_flags & IDE_DFLAG_USING_DMA)) {
+ if (((pc->flags & PC_FLAG_DMA_OK) &&
+ (drive->dev_flags & IDE_DFLAG_USING_DMA)) ||
+ drive->dma) {
if (scsi)
hwif->sg_mapped = 1;
drive->dma = !hwif->dma_ops->dma_setup(drive);