From: Grant Likely Date: Sat, 7 Nov 2009 08:33:53 +0000 (-0700) Subject: ASoC/mpc5200: Track DMA position by period number instead of bytes X-Git-Tag: v2.6.33-rc1~390^2~1^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f159d720b89f2a6c5ae8a8cc54823933a58120b;p=pandora-kernel.git ASoC/mpc5200: Track DMA position by period number instead of bytes 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 Likely Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed