summaryrefslogtreecommitdiff
path: root/samples/tracepoints/tracepoint-probe-sample.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2009-11-07 08:33:53 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-11-07 12:40:08 (GMT)
commit8f159d720b89f2a6c5ae8a8cc54823933a58120b (patch)
treeeb4373286058f4808c5c2693465d130f06ab01cf /samples/tracepoints/tracepoint-probe-sample.c
parent4cae37fa98f4d50778161ec033122444e3c10a01 (diff)
downloadlinux-fsl-qoriq-8f159d720b89f2a6c5ae8a8cc54823933a58120b.tar.xz
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 <grant.likely@secretlab.ca> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'samples/tracepoints/tracepoint-probe-sample.c')
0 files changed, 0 insertions, 0 deletions