summaryrefslogtreecommitdiff
path: root/drivers/dma/pl330.c
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@freescale.com>2012-06-04 05:17:24 +0400
committerVinod Koul <vinod.koul@linux.intel.com>2012-06-07 12:18:42 +0400
commit8e2e27c7444ba7880aa0a4cb07a79de130d0ed93 (patch)
tree085658546fe857444d2b629d5970e71e669ac2fe /drivers/dma/pl330.c
parent30c1dc0ff30b5552e8af555265dbeac5637cbb48 (diff)
downloadlinux-8e2e27c7444ba7880aa0a4cb07a79de130d0ed93.tar.xz
dma: imx-sdma: buf_tail should be initialize in prepare function
This fix audio underrun issue. When SNDRV_PCM_TRIGGER_STOP and SNDRV_PCM_TRIGGER_START, it calls prepare again. buf_tail should be reset to zero. So move buf_tail initialization into prepare function. Signed-off-by: Richard Zhao <richard.zhao@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/pl330.c')
0 files changed, 0 insertions, 0 deletions