[ARM] tegra: spdif/i2s audio: fixes
authorChris Fries <C.Fries@motorola.com>
Sun, 5 Dec 2010 03:49:46 +0000 (21:49 -0600)
committerIliyan Malchev <malchev@google.com>
Tue, 7 Dec 2010 02:06:00 +0000 (18:06 -0800)
commitd65dc80617985756a63f13c73e276a36d1f55d2d
tree2b04e31e6325cefbe8619dded2be1444fb9cf9a1
parent4d9275dc2312193b55b8340fce320911205e4933
[ARM] tegra: spdif/i2s audio: fixes

-- release can take a long time

Releasing the out file handles can take a long time, because
we wait for a stop completion that may never arrive.

-- fix possible dma list corruption

If things have gone wrong and a "wait_till_stopped()" times
out, prevent list corrption in the DMA by dequeing any
queued requests.

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