Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157678
b: refs/heads/master
c: f8bae4c
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Aug 19, 2009
1 parent 364d182 commit 827e70e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 474e09ca017bd0f6e9bf41af643364a21bc27f43
refs/heads/master: f8bae4caaaf56c391f3e2380dd7105e765414178
3 changes: 3 additions & 0 deletions trunk/sound/arm/pxa2xx-pcm-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ int __pxa2xx_pcm_prepare(struct snd_pcm_substream *substream)
{
struct pxa2xx_runtime_data *prtd = substream->runtime->private_data;

if (!prtd || !prtd->params)
return 0;

DCSR(prtd->dma_ch) &= ~DCSR_RUN;
DCSR(prtd->dma_ch) = 0;
DCMD(prtd->dma_ch) = 0;
Expand Down

0 comments on commit 827e70e

Please sign in to comment.