/* * release the preallocated buffer if not yet done. */ static void snd_pcm_lib_preallocate_dma_free(struct snd_pcm_substream *substream) { if (substream->dma_buffer.area == NULL) return; snd_dma_free_pages(&substream->dma_buffer); substream->dma_buffer.area = NULL;
}