commit | 9bef6489d72abd8f598aede92be3854a69324c50 | [log] [tgz] |
---|---|---|
author | Stephen Ware <stephen.ware@eqware.net> | Wed Dec 31 14:39:23 2008 -0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Thu Jan 01 11:52:48 2009 +0000 |
tree | feacfd87f5fb52fcd39086189a3443c6c4b9fead | |
parent | 276c62225a7c98737510483dcaec6af7e7965389 [diff] |
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 <stephen.ware@eqware.net> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>