[ARM] tegra_i2s_audio: don't turn off hardware during over/underflow
authorChris Fries <C.Fries@motorola.com>
Thu, 2 Dec 2010 20:37:47 +0000 (14:37 -0600)
committerIliyan Malchev <malchev@google.com>
Thu, 2 Dec 2010 22:08:50 +0000 (14:08 -0800)
commit3d8c542754a0ac192eba87726aa4462fbde43853
tree7bfdea27e42551f88be4c6590dd93ce4434293d7
parent66feb38823706e829aae1df59afb506e26fd58db
[ARM] tegra_i2s_audio: don't turn off hardware during over/underflow

-- Leave I2S running during underflow, for a couple of reasons.
   First, the I2S buffers a few samples, and if we get a new write
   before those samples are flushed, we will keep continuous audio
   Second, we burn CPU time stopping and restarting the HW
   frequently.

-- Fix TEGRA_AUDIO_IN/OUT_GET/SET_NUM_BUFS, was causing DMA to
   read/write to null HW address.

Signed-off-by: Iliyan Malchev <malchev@google.com>
arch/arm/mach-tegra/tegra_i2s_audio.c