linux_dsm_epyc7002/sound/soc/intel/boards
Rander Wang 0235bc0462
ASoC: Intel: tgl_max98373: fix a runtime pm issue in multi-thread case
When the playback & capture streams are stopped simultaneously, the
SOF PCI device will remain pm_runtime active. The root-cause is a race
condition with two threads reaching the trigger function at the same
time. They see another stream is active so the dapm pin is not
disabled, so the codec remains active as well as the parent PCI
device.

For max98373, the capture stream provides feedback when playback is
working and it is unused when playback is stopped. So the dapm pin
should be set only when playback is active.

Fixes: 94d2d08974 ('ASoC: Intel: Boards: tgl_max98373: add dai_trigger function')
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200821195603.215535-7-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-08-24 20:15:14 +01:00
..
bdw-rt5650.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
bdw-rt5677.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
broadwell.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
bxt_da7219_max98357a.c ASoC: Intel: bxt-da7219-max98357a: return -EINVAL on unrecognized speaker amplifier 2020-07-02 17:18:50 +01:00
bxt_rt298.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
byt-max98090.c
byt-rt5640.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
bytcht_cx2072x.c ASoC: Intel: byt*: simplify card names for SOF uses 2020-06-17 20:58:30 +01:00
bytcht_da7213.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
bytcht_es8316.c Merge series "ASoC: Intel: machine driver updates for 5.9" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>: 2020-07-20 15:34:31 +01:00
bytcht_nocodec.c
bytcr_rt5640.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
bytcr_rt5651.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
cht_bsw_max98090_ti.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
cht_bsw_nau8824.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
cht_bsw_rt5645.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
cht_bsw_rt5672.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
cml_rt1011_rt5682.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
ehl_rt5660.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
glk_rt5682_max98357a.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
haswell.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
hda_dsp_common.c
hda_dsp_common.h
kbl_da7219_max98357a.c
kbl_da7219_max98927.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
kbl_rt5660.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
kbl_rt5663_max98927.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
kbl_rt5663_rt5514_max98927.c Merge series "ASoC: meson: tdm fixes" from Jerome Brunet <jbrunet@baylibre.com>: 2020-07-30 21:00:36 +01:00
Kconfig ASoC: Intel: sof-sdw: add MAX98373 I2C dependencies 2020-07-09 21:01:27 +01:00
Makefile ASoC: Intel: sof_sdw: Add MAX98373 support 2020-06-26 16:10:59 +01:00
skl_hda_dsp_common.c
skl_hda_dsp_common.h ASoC: intel/skl/hda - fix probe regression on systems without i915 2020-07-22 13:34:24 +01:00
skl_hda_dsp_generic.c ASoC: Intel: skl_hda_dsp_generic: Fix NULLptr dereference in autosuspend delay 2020-08-19 12:12:53 +01:00
skl_nau88l25_max98357a.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
skl_nau88l25_ssm4567.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
skl_rt286.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
sof_da7219_max98373.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
sof_maxim_common.c ASoC: Intel: tgl_max98373: fix a runtime pm issue in multi-thread case 2020-08-24 20:15:14 +01:00
sof_maxim_common.h ASoC: Intel: sof_sdw: Add MAX98373 support 2020-06-26 16:10:59 +01:00
sof_pcm512x.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
sof_rt5682.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
sof_sdw_common.h ASoC: Intel: sof_sdw: add support for systems without i915 audio 2020-07-20 16:08:21 +01:00
sof_sdw_dmic.c
sof_sdw_hdmi.c ASoC: Intel: sof_sdw: avoid crash if invalid DSP topology loaded 2020-07-20 16:08:22 +01:00
sof_sdw_max98373.c ASoC: Intel: sdw_max98373: add card_late_probe support 2020-07-09 21:01:28 +01:00
sof_sdw_rt700.c ASoC: Intel: sof_sdw_rt700: remap buttons 2020-05-18 14:01:47 +01:00
sof_sdw_rt711.c ASoC: Intel: sof_sdw_rt711: remove properties in card remove 2020-07-20 16:08:20 +01:00
sof_sdw_rt715.c
sof_sdw_rt1308.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00
sof_sdw_rt5682.c
sof_sdw.c ASoC: Intel: sof_sdw: add support for systems without i915 audio 2020-07-20 16:08:21 +01:00
sof_wm8804.c ASoC: intel/boards: use asoc_substream_to_rtd() 2020-07-27 14:00:22 +01:00