linux-yocto/sound
Johan Hovold 60f7e00894 ASoC: codecs: wsa881x: fix unnecessary initialisation
commit 29d71b8a5a40708b3eed9ba4953bfc2312c9c776 upstream.

The soundwire update_status() callback may be called multiple times with
the same ATTACHED status but initialisation should only be done when
transitioning from UNATTACHED to ATTACHED.

Fixes: a0aab9e140 ("ASoC: codecs: add wsa881x amplifier support")
Cc: stable@vger.kernel.org	# 5.6
Cc: Srinivas Kandagatla <srini@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20260102111413.9605-3-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-01-23 11:18:45 +01:00
..
ac97 ALSA: ac97: fix a double free in snd_ac97_controller_register() 2026-01-17 16:31:26 +01:00
aoa
arm
atmel
core ALSA: pcm: Improve the fix for race of buffer access at PCM OSS layer 2026-01-23 11:18:43 +01:00
drivers ALSA: serial-generic: remove shared static buffer 2025-11-13 15:34:24 -05:00
firewire ALSA: dice: fix buffer overflow in detect_stream_formats() 2025-12-18 13:55:23 +01:00
hda ALSA: hda: intel-dsp-config: Prefer legacy driver as fallback 2026-01-17 16:31:29 +01:00
i2c
isa ALSA: wavefront: Clear substream pointers on close 2026-01-08 10:14:26 +01:00
mips
oss
parisc
pci ALSA: hda/cirrus_scodec_test: Fix incorrect setup of gpiochip 2026-01-23 11:18:38 +01:00
pcmcia ALSA: pcmcia: Fix resource leak in snd_pdacf_probe error path 2026-01-08 10:14:08 +01:00
ppc
sh ALSA: sh: SND_AICA should depend on SH_DMA_API 2025-05-22 14:29:41 +02:00
soc ASoC: codecs: wsa881x: fix unnecessary initialisation 2026-01-23 11:18:45 +01:00
sparc
spi
synth
usb ALSA: usb-audio: Update for native DSD support quirks 2026-01-17 16:31:28 +01:00
virtio sound/virtio: Fix cancel_sync warnings on uninitialized work_structs 2025-05-02 07:59:17 +02:00
x86 ALSA: intel_hdmi: Fix off-by-one error in __hdmi_lpe_audio_probe() 2025-08-15 12:14:12 +02:00
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c