linux-yocto/sound
Johan Hovold 5caac66da5 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:21:28 +01:00
..
ac97 ALSA: ac97: fix a double free in snd_ac97_controller_register() 2026-01-17 16:35:12 +01:00
aoa ALSA: aoa: Remove redundant size arguments from strscpy() 2025-09-12 07:54:40 +02:00
arm ALSA: arm: Use guard() for spin locks 2025-09-10 13:20:01 +02:00
atmel ALSA: atmel: Use guard() for mutex locks 2025-09-01 13:54:28 +02:00
core ALSA: pcm: Improve the fix for race of buffer access at PCM OSS layer 2026-01-23 11:21:23 +01:00
drivers ALSA: serial-generic: remove shared static buffer 2025-09-15 12:33:53 +02:00
firewire ALSA: dice: fix buffer overflow in detect_stream_formats() 2025-12-18 14:03:42 +01:00
hda ALSA: hda/realtek: Add quirk for HP Pavilion x360 to enable mute LED 2026-01-23 11:21:24 +01:00
i2c ALSA: i2c: Use guard() for spin locks 2025-09-01 13:54:26 +02:00
isa ALSA: wavefront: Fix integer overflow in sample size validation 2025-12-18 14:03:43 +01:00
mips ALSA: snd-n64: Use guard() for spin locks 2025-09-10 13:20:01 +02:00
oss
parisc ALSA: parisc: Use guard() for spin locks 2025-09-10 13:20:01 +02:00
pci ALSA: au88x0: Fix incorrect error handling for PCI config reads 2025-11-17 17:23:52 +01:00
pcmcia ALSA: pcmcia: Fix resource leak in snd_pdacf_probe error path 2026-01-02 12:56:58 +01:00
ppc ALSA: ppc: Use guard() for spin locks 2025-09-10 13:20:01 +02:00
sh ALSA: sh: Use safer strscpy() instead of strcpy() 2025-07-11 09:53:35 +02:00
soc ASoC: codecs: wsa881x: fix unnecessary initialisation 2026-01-23 11:21:28 +01:00
sparc ALSA: sparc/dbri: Use guard() for spin locks 2025-09-10 13:20:01 +02:00
spi ALSA: spi/at73c213: Use guard() for spin locks 2025-09-17 14:07:02 +02:00
synth ALSA: synth: Use guard() for preset locks 2025-09-01 13:54:27 +02:00
usb ALSA: usb-audio: Update for native DSD support quirks 2026-01-17 16:35:33 +01:00
virtio ALSA: virtio: Use guard() for spin locks 2025-09-01 13:54:28 +02:00
x86 ALSA: x86: Use guard() for spin locks 2025-09-01 13:54:27 +02:00
xen ALSA: xen: Use guard() for mutex locks 2025-09-01 13:54:27 +02:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c