linux-stable/sound/soc/sof/intel
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
..
apl.c ASoC: SOF: Intel: remove the HDA_DSP_CORE_MASK() macro 2020-09-11 15:29:31 +01:00
bdw.c ASoC: SOF: rename cores_mask to host_managed_cores_mask 2020-09-11 15:29:29 +01:00
byt.c ASoC: SOF: rename cores_mask to host_managed_cores_mask 2020-09-11 15:29:29 +01:00
cnl.c ASoC: SOF: Intel: remove the HDA_DSP_CORE_MASK() macro 2020-09-11 15:29:31 +01:00
hda-bus.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
hda-codec.c ASoC: SOF: Intel: hda: Resume codec to do jack detection 2021-02-07 15:37:14 +01:00
hda-compress.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
hda-ctrl.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
hda-dai.c ASoC: SOF: Intel: hda-dai: fix potential locking issue 2021-11-26 10:39:09 +01:00
hda-dsp.c ASoC: SOF: Intel: HDA: fix core status verification 2021-04-14 08:42:06 +02:00
hda-ipc.c ASoC: SOF: Intel: hda-ipc: fix reply size checking 2021-08-18 08:59:08 +02:00
hda-ipc.h ASoC: SOF: Intel: hda: Add sof_tgl_ops for TGL platforms 2020-08-27 14:22:23 +01:00
hda-loader.c ASoC: SOF: Intel: hda: reduce verbosity of boot error logs 2020-09-17 15:53:21 +01:00
hda-pcm.c ASoC: sof: use asoc_substream_to_rtd() 2020-07-23 19:07:24 +01:00
hda-stream.c ASoC: SOF: Intel: hda: Add helper function to program ICCMAX stream 2020-08-27 14:22:19 +01:00
hda-trace.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
hda.c ASoC: SOF: Intel: unregister DMIC device on probe error 2021-03-25 09:04:06 +01:00
hda.h Merge series "ASoC: SOF: small fixes for 5.10" from Kai Vehmanen <kai.vehmanen@linux.intel.com>: 2020-09-17 17:40:15 +01:00
intel-ipc.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
Kconfig ASoC: SOF: Intel: broadwell: fix mutual exclusion with catpt driver 2021-03-11 14:17:21 +01:00
Makefile ASoC: SOF: Intel: hda: Add sof_tgl_ops for TGL platforms 2020-08-27 14:22:23 +01:00
shim.h ASoC: SOF: rename cores_mask to host_managed_cores_mask 2020-09-11 15:29:29 +01:00
tgl.c ASoC: SOF: Intel: Add support for tgl-h 2020-09-17 17:40:09 +01:00