Skip to content
Commit 9bef6489 authored by Stephen Ware's avatar Stephen Ware Committed by Mark Brown
Browse files

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: default avatarstephen <stephen.ware@eqware.net>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 276c6222
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment