linux-yocto/sound
Erick Karanja 48915162b5 ALSA: usb-audio: qcom: Adjust mutex unlock order
The mutexes qdev_mutex and chip->mutex are acquired in that order
throughout the driver. To preserve proper lock hierarchy and avoid
potential deadlocks, they must be released in the reverse
order of acquisition.

This change reorders the unlock sequence to first release chip->mutex
followed by qdev_mutex, ensuring consistency with the locking pattern.

[ fixed the code indentations and Fixes tag by tiwai ]

Fixes: 326bbc3482 ("ALSA: usb-audio: qcom: Introduce QC USB SND offloading support")
Signed-off-by: Erick Karanja <karanja99erick@gmail.com>
Link: https://patch.msgid.link/20250721114554.1666104-1-karanja99erick@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2025-07-22 11:39:40 +02:00
..
ac97 ALSA: ac97: Convert to RUNTIME_PM_OPS() macro 2025-03-14 11:07:13 +01:00
aoa
arm
atmel ALSA: atmel: Replace deprecated strcpy() with strscpy() 2025-05-22 20:35:56 +02:00
core ALSA: compress_offload: tighten ioctl command number checks 2025-07-10 10:10:08 +02:00
drivers treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
firewire
hda Merge branch 'for-linus' into for-next 2025-05-22 20:34:24 +02:00
i2c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
isa ALSA: ad1816a: Fix potential NULL pointer deref in snd_card_ad1816a_pnp() 2025-07-04 09:04:12 +02:00
mips ALSA: n64: Replace deprecated strcpy() with strscpy() 2025-05-19 17:49:59 +02:00
oss
parisc
pci ALSA: hda/realtek - Add mute LED support for HP Pavilion 15-eg0xxx 2025-07-21 09:23:07 +02:00
pcmcia
ppc
sh treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
soc ASoC: amd: yc: Add DMI quirk for HP Laptop 17 cp-2033dx 2025-07-16 11:50:33 +01:00
sparc ALSA: amd7930: replace strcpy() with strscpy() 2025-05-20 16:07:18 +02:00
spi
synth treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
usb ALSA: usb-audio: qcom: Adjust mutex unlock order 2025-07-22 11:39:40 +02:00
virtio ALSA: virtio: use snd_kcontrol_chip() 2025-05-08 11:53:34 +02:00
x86 ALSA: intel-hdmi-audio: Replace deprecated strcpy() with strscpy() 2025-05-11 16:25:21 +02:00
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c