commit | 9255f1deec151ac0e84871d06bc27406cb81f26f | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Fri May 21 15:30:12 2010 +0000 |
committer | Paul Mundt <lethal@linux-sh.org> | Sat May 22 17:06:35 2010 +0900 |
tree | b4e454e2339207a1ce3bbe826f624c1f80323487 | |
parent | 7a5c106a0e8fd03a806d0da77eef10b4045c43a6 [diff] |
sh: guard cookie consistency across termination in the DMA driver 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>