diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-10-09 12:42:10 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-10-09 12:43:25 +0200 |
commit | a74f8d0aa902ca494676b79226e0b5a1747b81d4 (patch) | |
tree | 4957a4db515ac80706573979c00c31b18d0cc992 /include | |
parent | 9902b303b5ade208b58f0dd38a09831813582211 (diff) | |
download | lwn-a74f8d0aa902ca494676b79226e0b5a1747b81d4.tar.gz lwn-a74f8d0aa902ca494676b79226e0b5a1747b81d4.zip |
ALSA: usb-audio: Apply mutex around snd_usb_endpoint_set_params()
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: 2be79d586454 ("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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions