aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/ide-cd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index 33a020faeabd..4f7ce7056228 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -1933,7 +1933,7 @@ static ide_startstop_t cdrom_do_block_pc(ide_drive_t *drive, struct request *rq)
1933 /* 1933 /*
1934 * check if dma is safe 1934 * check if dma is safe
1935 */ 1935 */
1936 if ((rq->data_len & mask) || (addr & mask)) 1936 if ((rq->data_len & 3) || (addr & mask))
1937 info->dma = 0; 1937 info->dma = 0;
1938 } 1938 }
1939 1939