ASoC: Fix pxa2xx-pcm checks for invalid DMA channels
authorStephen Ware <stephen.ware@eqware.net>
Wed, 31 Dec 2008 22:39:23 +0000 (14:39 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 1 Jan 2009 11:52:48 +0000 (11:52 +0000)
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 <stephen.ware@eqware.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found