[ARM] tegra_i2s_audio: fixed several issues
authorEric Laurent <elaurent@google.com>
Wed, 12 Jan 2011 03:39:58 +0000 (19:39 -0800)
committerIliyan Malchev <malchev@google.com>
Wed, 12 Jan 2011 04:09:34 +0000 (20:09 -0800)
commita8ac34d55b93be3f92efa0b02a2bdb8c156149d1
treefdb2c7a4c1dc279df1975478d3dd4f7ea9375f46
parent55bfef75ea06908d4f30ccfec8f7e239a5592705
[ARM] tegra_i2s_audio: fixed several issues

- Acquire the DMA request spinlock in dma_tx_complete_callback()
(this was omitted)
- allow_suspend() was called by mistake in start_recording_if_necessary()
every time it was executed which could cause the wake lock to be
released during audio capture.

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