linux_dsm_epyc7002/sound/soc
Kai Vehmanen cfe8191b1b
ASoC: SOF: fix PCM playback through ALSA OSS emulation
Any app using ALSA OSS emulation on top of SOF will fail
to error from OSS SNDCTL_DSP_SETFMT ioctl. Reported initially
as an issue with xournalpp (application using PortAudio with
an OSS backend), but applies more generally to other apps
using OSS as well.

Problem is caused by SOF PCM not supporting repeated calls
to hw_params(), without matching calls to pcm_free(). This
is however exactly what the ALSA OSS PCM code is doing when
it is handling the OSS ioctls.

The problem will lead to leaking of DSP resources and eventual
failure of DSP PCM_PARAMS IPC.

BugLink: https://github.com/thesofproject/linux/issues/1510
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200110235751.3404-7-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-01-13 15:00:00 +00:00
..
adi
amd ASoC: amd: acp3x: Fix return value check in acp3x_dai_probe() 2020-01-09 13:23:43 +00:00
atmel
au1x
bcm
cirrus
codecs ASoC: rt711: remove unused including <linux/version.h> 2020-01-13 14:58:56 +00:00
dwc
fsl Merge branch 'for-5.5' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.6 2019-12-25 17:51:43 +00:00
generic
hisilicon
img
intel ASoC: Intel: bdw-rt5650: change cpu_dai and platform components for SOF 2020-01-13 14:59:45 +00:00
jz4740
kirkwood
mediatek
meson ASoC: meson: axg-fifo: relax period size constraints 2019-12-18 20:01:34 +00:00
mxs
pxa
qcom ASoC: qdsp6: q6asm-dai: constify copied structure 2020-01-01 21:38:48 +00:00
rockchip
samsung
sh
sirf
sof ASoC: SOF: fix PCM playback through ALSA OSS emulation 2020-01-13 15:00:00 +00:00
spear
sprd
sti
stm Merge branch 'for-5.5' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.6 2020-01-10 11:51:21 +00:00
sunxi
tegra
ti
txx9 ASoC: txx9: Remove unused rtd variable 2020-01-13 14:58:38 +00:00
uniphier
ux500
xilinx
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-component.c ASoC: soc-core: remove snd_soc_rtdcom_list 2020-01-10 13:31:22 +00:00
soc-compress.c ASoC: soc-pcm/soc-compress: use snd_soc_dapm_stream_stop() for SND_SOC_DAPM_STREAM_STOP 2020-01-10 13:34:19 +00:00
soc-core.c ASoC: soc-core: add snd_soc_close_delayed_work() 2020-01-10 13:33:27 +00:00
soc-dai.c
soc-dapm.c ASoC: soc-dapm: add snd_soc_dapm_stream_stop() 2020-01-10 13:33:53 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm/soc-compress: use snd_soc_dapm_stream_stop() for SND_SOC_DAPM_STREAM_STOP 2020-01-10 13:34:19 +00:00
soc-topology.c ASoC: soc-topology: fix endianness issues 2020-01-03 00:57:57 +00:00
soc-utils.c