ASoC: Tegra: Fix error handling in DMA channel alloc
authorStephen Warren <swarren@nvidia.com>
Wed, 23 Feb 2011 03:16:34 +0000 (20:16 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 28 Feb 2011 15:10:03 +0000 (15:10 +0000)
commite1412e636eeb84023b79e525909b366a9b28a185
treec6be48658187a644a4b82cfb4a401e069f585fff
parent61a142b7e4b5c4cce1b4ea52a829984959120089
ASoC: Tegra: Fix error handling in DMA channel alloc

tegra_dma_allocate_channel() returns NULL on errors, not an error pointer.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/tegra_pcm.c