ALSA: usb-audio: Correct the return code from snd_usb_endpoint_set_params()
[ Upstream commit 9355b60e ] snd_usb_endpoint_set_params() should return zero for a success, but currently it returns the sample rate. Correct it. Fixes: 2be79d58 ("ALSA: usb-audio: Split endpoint setups for hw_params and prepare (take#2)") Link: https://lore.kernel.org/r/20221009104212.18877-4-tiwai@suse.de Signed-off-by:Takashi Iwai <tiwai@suse.de> Stable-dep-of: 7822baa8 ("ALSA: usb-audio: add quirk for RODE NT-USB+") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment