From: Stephen Ware Date: Wed, 31 Dec 2008 22:39:23 +0000 (-0800) Subject: ASoC: Fix pxa2xx-pcm checks for invalid DMA channels X-Git-Tag: v2.6.29-rc1~503^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bef6489d72abd8f598aede92be3854a69324c50;p=pandora-kernel.git ASoC: Fix pxa2xx-pcm checks for invalid DMA channels Set the invalid dma channel to -1 (and check properly for it) in pxa2xx_pcm_hw_free(). Was assuming 0 is an invalid channel number but 0 is a valid pxa dma channel num. Signed-off-by: stephen Signed-off-by: Mark Brown --- Reading git-diff-tree failed