mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 23:16:39 +07:00
a96edd59b2
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@nvidia.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
tegra_asoc_utils.c | ||
tegra_asoc_utils.h | ||
tegra_das.c | ||
tegra_das.h | ||
tegra_i2s.c | ||
tegra_i2s.h | ||
tegra_pcm.c | ||
tegra_pcm.h | ||
tegra_spdif.c | ||
tegra_spdif.h | ||
tegra_wm8903.c | ||
trimslice.c |