Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 384f1fcd authored by Jens Axboe's avatar Jens Axboe Committed by Linus Torvalds
Browse files

[PATCH] relax ide-cd dma restrictions



This has been sitting for a while, and is causing lots of grief for
people burning CDs.  It relaxes the dma restriction for ide-cd,
requiring only the length to be 32-byte aligned, address should be fine
at normal double word alignment.

Signed-off-by: default avatarJens Axboe <axboe@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0e158502
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1933,7 +1933,7 @@ static ide_startstop_t cdrom_do_block_pc(ide_drive_t *drive, struct request *rq)
		/*
		 * check if dma is safe
		 */
		if ((rq->data_len & mask) || (addr & mask))
		if ((rq->data_len & 3) || (addr & mask))
			info->dma = 0;
	}