git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'core-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[pandora-kernel.git]
/
sound
/
soc
/
pxa
/
pxa2xx-pcm.c
diff --git
a/sound/soc/pxa/pxa2xx-pcm.c
b/sound/soc/pxa/pxa2xx-pcm.c
index
c670d08
..
53b9fb1
100644
(file)
--- a/
sound/soc/pxa/pxa2xx-pcm.c
+++ b/
sound/soc/pxa/pxa2xx-pcm.c
@@
-61,9
+61,9
@@
static int pxa2xx_pcm_hw_free(struct snd_pcm_substream *substream)
__pxa2xx_pcm_hw_free(substream);
- if (prtd->dma_ch) {
+ if (prtd->dma_ch
>= 0
) {
pxa_free_dma(prtd->dma_ch);
- prtd->dma_ch =
0
;
+ prtd->dma_ch =
-1
;
}
return 0;