ASoC: MPC5200: Support for buffer wrap around
authorJohn Bonesio <bones@secretlab.ca>
Wed, 29 Jul 2009 15:38:55 +0000 (08:38 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 Aug 2009 21:10:14 +0000 (22:10 +0100)
The code in psc_dma_bcom_enqueue_tx() didn't account for the fact that
s->runtime->control->appl_ptr can wrap around to the beginning of the
buffer. This change fixes this problem.

Signed-off-by: John Bonesio <bones@secretlab.ca>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found