linux/sound/soc/mediatek
Koro Chen 8d6f88ce96 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>
2015-12-08 17:06:45 +00:00
..
Kconfig ASoC: mediatek: Add machine driver for rt5650 rt5676 codec 2015-06-16 12:52:36 +01:00
Makefile ASoC: mediatek: Add machine driver for rt5650 rt5676 codec 2015-06-16 12:52:36 +01:00
mt8173-max98090.c Merge remote-tracking branches 'asoc/topic/jz4740', 'asoc/topic/kirkwood', 'asoc/topic/mtk', 'asoc/topic/multi' and 'asoc/topic/mxs' into asoc-next 2015-09-23 11:01:22 -07:00
mt8173-rt5650-rt5676.c Merge remote-tracking branches 'asoc/topic/jz4740', 'asoc/topic/kirkwood', 'asoc/topic/mtk', 'asoc/topic/multi' and 'asoc/topic/mxs' into asoc-next 2015-09-23 11:01:22 -07:00
mtk-afe-common.h ASoC: mediatek: Use current HW pointer for pointer callback 2015-12-08 17:06:45 +00:00
mtk-afe-pcm.c ASoC: mediatek: Use current HW pointer for pointer callback 2015-12-08 17:06:45 +00:00