]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: control: Fix power_ref lock order for compat code, too
authorTakashi Iwai <tiwai@suse.de>
Thu, 8 Aug 2024 16:31:27 +0000 (18:31 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Aug 2024 16:31:54 +0000 (18:31 +0200)
commita1066453b5e49a28523f3ecbbfe4e06c6a29561c
tree66a6a7246f418de6b7650a4f7bc1a018b37aebce
parentc37f7cd7e5b6c2aabe0d5b2220545789517b064a
ALSA: control: Fix power_ref lock order for compat code, too

In the previous change for swapping the power_ref and controls_rwsem
lock order, the code path for the compat layer was forgotten.
This patch covers the remaining code.

Fixes: fcc62b19104a ("ALSA: control: Take power_ref lock primarily")
Link: https://patch.msgid.link/20240808163128.20383-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control_compat.c