Re: [alsa-devel] [PATCH 1/6] ASoC/mpc5200: Track DMA position by period number instead of bytes

2009-11-07 Thread Grant Likely
On Sat, Nov 7, 2009 at 3:35 AM, Liam Girdwood wrote: > On Sat, 2009-11-07 at 01:33 -0700, Grant Likely wrote: >> All DMA blocks are lined up to period boundaries, but the DMA >> handling code tracks bytes instead.  This patch reworks the code >> to track the period index into the DMA buffer instea

Re: [alsa-devel] [PATCH 1/6] ASoC/mpc5200: Track DMA position by period number instead of bytes

2009-11-07 Thread Liam Girdwood
On Sat, 2009-11-07 at 01:33 -0700, Grant Likely wrote: > All DMA blocks are lined up to period boundaries, but the DMA > handling code tracks bytes instead. This patch reworks the code > to track the period index into the DMA buffer instead of the > physical address pointer. Doing so makes the co

[PATCH 1/6] ASoC/mpc5200: Track DMA position by period number instead of bytes

2009-11-07 Thread Grant Likely
All DMA blocks are lined up to period boundaries, but the DMA handling code tracks bytes instead. This patch reworks the code to track the period index into the DMA buffer instead of the physical address pointer. Doing so makes the code simpler and easier to understand. Signed-off-by: Grant Like