]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] dma: RiscPC: don't modify DMA SG entries
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 21 Feb 2009 21:38:56 +0000 (21:38 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Feb 2009 21:38:56 +0000 (21:38 +0000)
commitfa4e998999322bc1b11d2c8b19b9fa2016fd1548
tree88ffcfce4eb62df4ac2994351c7525df83bc76f2
parent308d333ad6cc12e39adaed22dc10bac48e17742a
[ARM] dma: RiscPC: don't modify DMA SG entries

We should not be modifying the scatterlist passed to us from the
driver code; doing so breaks assumptions made by the DMA API code,
and could cause problems if the driver retries a transfer using an
old scatterlist.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-rpc/dma.c