Re: [PATCH 1/3] ASoC: Tegra: tegra_pcm_deallocate_dma_buffer: Don't OOPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---

All 

Acked-by: Liam Girdwood <lrg@xxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux