summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorKoro Chen <koro.chen@mediatek.com>2015-12-03 10:53:28 +0300
committerMark Brown <broonie@kernel.org>2015-12-08 20:06:45 +0300
commit8d6f88ce961cf62137696627448cfd6038f07f41 (patch)
treeba8aca5a3f6ad907cea24811bfe0515860ebef51 /include/sound
parentb45e68df065a9babc43b4b7cd223c412d34b6658 (diff)
downloadlinux-8d6f88ce961cf62137696627448cfd6038f07f41.tar.xz
ASoC: mediatek: Use current HW pointer for pointer callback
Previously we recorded "last interrupt position" and used it in pointer callback. This is not correct implementation, and it causes underruns when user space monitors buffer level to decide when to send next data chunk in low latency application. Remove position recording in IRQ handler and also hw_ptr in struct mtk_afe_memif used to record that, and let pointer callback reports current HW pointer instead. Signed-off-by: Koro Chen <koro.chen@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions