[alsa-devel] [PATCH 1/3] ASoC: Tegra: tegra_pcm_deallocate_dma_buffer: Don't OOPS

Liam Girdwood lrg at ti.com
Mon Aug 8 17:43:46 CEST 2011

On Fri, 2011-08-05 at 00:44 +0200, Stephen Warren wrote:
> Not all PCM devices have all sub-streams. Specifically, the SPDIF driver
> only supports playback and hence has no capture substream. Check whether
> a substream exists before dereferencing it, when de-allocating DMA
> buffers in tegra_pcm_deallocate_dma_buffer.
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---


Acked-by: Liam Girdwood <lrg at ti.com>

More information about the Alsa-devel mailing list