Skip to content
Commit 06b6de69 authored by Takashi Iwai's avatar Takashi Iwai Committed by Sasha Levin
Browse files

ALSA: usb-audio: Apply mutex around snd_usb_endpoint_set_params()

[ Upstream commit a74f8d0a ]

The protection with chip->mutex was lost after splitting
snd_usb_endpoint_set_params() and snd_usb_endpoint_prepare().
Apply the same mutex again to the former function.

Fixes: 2be79d58

 ("ALSA: usb-audio: Split endpoint setups for hw_params and prepare (take#2)")
Link: https://lore.kernel.org/r/20221009104212.18877-3-tiwai@suse.de
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Stable-dep-of: 7822baa8

 ("ALSA: usb-audio: add quirk for RODE NT-USB+")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 539493f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment