Release the allocated dma buffer.
int snd_pcm_lib_free_pages(struct snd_pcm_substream * substream);
substream
the substream to release the DMA buffer
Releases the DMA buffer allocated via snd_pcm_lib_malloc_pages.
Zero if successful, or a negative error code on failure.