linux/sound/soc
Pierre-Louis Bossart b32cab0970
ASoC: rt711-sdca-sdw: use first_hw_init flag on resume
The intent of the status check on resume was to verify if a SoundWire
peripheral reported ATTACHED before waiting for the initialization to
complete. This is required to avoid timeouts that will happen with
'ghost' devices that are exposed in the platform firmware but are not
populated in hardware.

Unfortunately we used 'hw_init' instead of 'first_hw_init'. Due to
another error, the resume operation never timed out, but the volume
settings were not properly restored.

BugLink: https://github.com/thesofproject/linux/issues/2908
BugLink: https://github.com/thesofproject/linux/issues/2637
Fixes: 7ad4d237e7 ('ASoC: rt711-sdca: Add RT711 SDCA vendor-specific driver')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Bard Liao <bard.liao@intel.com>
Link: https://lore.kernel.org/r/20210607222239.582139-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-06-08 13:36:33 +01:00
..
adi
amd ASoC: AMD Renoir: Remove fix for DMI entry on Lenovo 2020 platforms 2021-06-03 13:55:19 +01:00
atmel
au1x
bcm
cirrus
codecs ASoC: rt711-sdca-sdw: use first_hw_init flag on resume 2021-06-08 13:36:33 +01:00
dwc
fsl ASoC: fsl-asoc-card: Set .owner attribute when registering card. 2021-06-01 14:03:00 +01:00
generic ASoC: audio-graph: tidyup graph_parse_node() 2021-05-11 15:46:51 +01:00
hisilicon
img
intel ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet 2021-05-11 15:42:36 +01:00
jz4740
kirkwood
mediatek
meson
mxs
pxa
qcom ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin 2021-06-07 15:54:08 +01:00
rockchip
samsung
sh ASoC: rsnd: add usage for SRC 2021-04-14 15:24:14 +01:00
sof ASoC: SOF: reset enabled_cores state at suspend 2021-06-01 14:03:01 +01:00
spear
sprd
sti ASoC: sti: sti_uniperif: add missing MODULE_DEVICE_TABLE 2021-04-13 12:33:45 +01:00
stm ASoC: stm32: do not request a new clock consummer reference 2021-04-28 16:34:53 +01:00
sunxi
tegra ASoC: tegra: mark runtime-pm functions as __maybe_unused 2021-04-22 16:27:37 +01:00
ti
uniphier
ux500
xilinx
xtensa
Kconfig ASoC: topology: adhere to KUNIT formatting standard 2021-04-14 15:26:24 +01:00
Makefile ASoC: topology: adhere to KUNIT formatting standard 2021-04-14 15:26:24 +01:00
soc-ac97.c
soc-acpi.c ASoC: soc-acpi: remove useless initialization 2021-04-19 14:03:29 +01:00
soc-card.c
soc-component.c
soc-compress.c
soc-core.c ASoC: core: Fix Null-point-dereference in fmt_single_name() 2021-05-24 09:49:28 +01:00
soc-dai.c
soc-dapm.c
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm: ignore dummy-DAI at soc_pcm_params_symmetry() 2021-04-16 14:34:13 +01:00
soc-topology-test.c
soc-topology.c ASoC: topology: Fix spelling mistake "vesion" -> "version" 2021-06-01 14:02:59 +01:00
soc-utils.c ASoC: soc-utils: add snd_soc_component_is_dummy() 2021-04-16 14:34:12 +01:00