sh: guard cookie consistency across termination in the DMA driver
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 21 May 2010 15:30:12 +0000 (15:30 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 22 May 2010 08:06:35 +0000 (17:06 +0900)
If all descriptors on a channel are terminated or the channel is released,
update the completed cookie counter to match the last cookie. This prevents
inconsistency warning on resumed DMA operation.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found