~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to sound/soc/tegra/tegra_pcm.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
309
309
 
310
310
static void tegra_pcm_deallocate_dma_buffer(struct snd_pcm *pcm, int stream)
311
311
{
312
 
        struct snd_pcm_substream *substream = pcm->streams[stream].substream;
313
 
        struct snd_dma_buffer *buf = &substream->dma_buffer;
314
 
 
 
312
        struct snd_pcm_substream *substream;
 
313
        struct snd_dma_buffer *buf;
 
314
 
 
315
        substream = pcm->streams[stream].substream;
 
316
        if (!substream)
 
317
                return;
 
318
 
 
319
        buf = &substream->dma_buffer;
315
320
        if (!buf->area)
316
321
                return;
317
322