linux-stable/sound/soc/sof
Pierre-Louis Bossart 0c6daf4799 ASoC: SOF: Intel: hda-dai: fix potential locking issue
[ Upstream commit a20f3b10de ]

The initial hdac_stream code was adapted a third time with the same
locking issues. Move the spin_lock outside the loops and make sure the
fields are protected on read/write.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210924192417.169243-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 10:39:09 +01:00
..
imx ASoC: SOF: imx: add missing MODULE_LICENSE() for imx-common 2020-09-21 17:28:11 +01:00
intel ASoC: SOF: Intel: hda-dai: fix potential locking issue 2021-11-26 10:39:09 +01:00
xtensa ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
compress.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
compress.h ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
control.c ASoC: SOF: control: add size checks for ext_bytes control .put() 2020-09-21 23:14:47 +01:00
core.c ASoC: SOF: loader: release_firmware() on load failure to avoid batching 2021-10-17 10:43:32 +02:00
debug.c ASoC: SOF: debug: Fix a potential issue on string buffer termination 2021-03-04 11:37:47 +01:00
ipc.c ASoC: SOF: IPC: reduce verbosity of IPC pointer updates 2020-08-25 20:39:37 +01:00
Kconfig ASoC: Intel: use consistent HDAudio spelling in comments/docs 2020-08-25 20:39:39 +01:00
loader.c ASoC: SOF: loader: release_firmware() on load failure to avoid batching 2021-10-17 10:43:32 +02:00
Makefile ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
nocodec.c ASoC: SOF: nocodec: add missing .owner field 2020-06-26 13:35:11 +01:00
ops.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
ops.h ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
pcm.c Linux 5.9-rc5 2020-10-06 16:19:24 +01:00
pm.c ASoC: SOF: pm: Fix prepare callback behavior for OF usecase 2020-09-21 17:28:10 +01:00
probe.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
probe.h ASoC: SOF: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
sof-acpi-dev.c ASoC: SOF: acpi: add dev_dbg() log for probe completion 2020-08-25 20:39:38 +01:00
sof-audio.c ASoC: SOF: remove several superfluous type-casts 2020-09-17 15:53:19 +01:00
sof-audio.h ASoC: SOF: Implement snd_sof_bytes_ext_volatile_get kcontrol IO 2020-09-08 13:55:00 +01:00
sof-of-dev.c ASoC: SOF: Add .prepare/.complete callbacks 2020-09-25 18:53:12 +01:00
sof-pci-dev.c ASoC: SOF: sof-pci-dev: add missing Up-Extreme quirk 2021-03-04 11:37:50 +01:00
sof-priv.h ASoC: SOF: Intel: hda: reduce verbosity of boot error logs 2020-09-17 15:53:21 +01:00
topology.c ASoC: SOF: topology: do not power down primary core during topology removal 2021-11-18 14:04:16 +01:00
trace.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
utils.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00