linux-stable/sound/soc/sof
Keyon Jie 8b66d7c58c
ASoC: SOF: add mutex to protect the dsp_power_state access
There could be more than one thread read/write the dsp_power_state
simultaneously (e.g. hda_dsp_d0i3_work and sof_ipc_tx_message), add a
mutex power_state_access to make sure the access to it is mutually
exclusive.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <bard.liao@intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210105155640.3725238-1-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-01-12 16:40:23 +00:00
..
imx ASoC: SOF: imx: update kernel-doc description 2020-12-11 13:23:03 +00:00
intel ASoC: SOF: Intel: hda: fix the condition passed to sof_dev_dbg_or_err 2020-12-11 13:22:58 +00: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: override volume info callback 2020-11-20 13:49:05 +00:00
core.c ASoC: SOF: add mutex to protect the dsp_power_state access 2021-01-12 16:40:23 +00:00
debug.c ASoC: SOF: modify the SOF_DBG flags 2020-12-11 13:22:57 +00:00
ipc.c ASoC: SOF: Add memory_info file to debugfs 2020-11-25 11:07:17 +00:00
Kconfig ASoC: SOF: Fix spelling mistake in Kconfig "ond" -> "and" 2020-12-16 13:53:51 +00:00
loader.c ASoC: SOF: Intel: hda: fix the condition passed to sof_dev_dbg_or_err 2020-12-11 13:22:58 +00: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: modify DAI link definitions 2020-11-20 16:42:14 +00:00
ops.c ASoC: SOF: modify the SOF_DBG flags 2020-12-11 13:22:57 +00:00
ops.h ASoC: SOF: add mutex to protect the dsp_power_state access 2021-01-12 16:40:23 +00:00
pcm.c ASoC: SOF: nocodec: modify DAI link definitions 2020-11-20 16:42:14 +00: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 dynamic selection of DSP driver 2020-11-19 18:24:39 +00:00
sof-audio.c ASoC: SOF: nocodec: modify DAI link definitions 2020-11-20 16:42:14 +00:00
sof-audio.h ASoC: SOF: control: fix cppcheck warning in snd_sof_volume_info() 2020-12-04 23:26:32 +00: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: Intel: add SoundWire support for ADL-S 2020-12-09 16:52:05 +00:00
sof-priv.h ASoC: SOF: add mutex to protect the dsp_power_state access 2021-01-12 16:40:23 +00:00
topology.c ASoC: SOF: control: override volume info callback 2020-11-20 13:49:05 +00:00
trace.c ASoC: SOF: trace: Add runtime trace filtering mechanism 2020-12-07 14:22:05 +00:00
utils.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00