]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ALSA: ASoC Blackfin: fix bug - Audio Latency on AD1981 with MMAP enabled
authorCliff Cai <cliff.cai@analog.com>
Sat, 27 Sep 2008 14:32:20 +0000 (22:32 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Oct 2008 00:16:30 +0000 (02:16 +0200)
commit6b58a82121320f96513d88032dc3495a9c6f450b
tree0290ca3031c1ec04fca96fdb303f981f7aedcac0
parent5564b14b88a5a34ea848732030fbc202a050daa6
ALSA: ASoC Blackfin: fix bug - Audio Latency on AD1981 with MMAP enabled

With MMAP enabled (DMA mode) on the AD1981, there is +/- 250ms of delay between
writing data to alsa and audio starts coming out of the AD1981.

Copy more data to local buffer before starting DMA

Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/blackfin/bf5xx-ac97-pcm.c
sound/soc/blackfin/bf5xx-ac97.c
sound/soc/blackfin/bf5xx-sport.h