summaryrefslogtreecommitdiff
path: root/sound/usb/implicit.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-01-18 10:58:15 +0300
committerTakashi Iwai <tiwai@suse.de>2021-01-18 11:38:03 +0300
commit3784d449d795ba11a92681bd22d183329f976421 (patch)
tree79e8507c2b61f882a64f08f7a363d6308add8605 /sound/usb/implicit.c
parent87cb9af9f8a2b242cea7f828206d619e8cbb6a1a (diff)
downloadlinux-3784d449d795ba11a92681bd22d183329f976421.tar.xz
ALSA: usb-audio: Set sample rate for all sharing EPs on UAC1
The UAC2/3 sample rate setup is based on the clock node, which is usually shared in the interface, and can't be re-setup without deselecting the interface once, and that's how the current code behaves. OTOH, the sample rate setup of UAC1 is per endpoint, hence we basically need to call for each endpoint usage even if those share the same interface. This patch fixes the behavior of UAC1 to call always snd_usb_init_sample_rate() in snd_usb_endpoint_configure(). Fixes: bf6313a0ff76 ("ALSA: usb-audio: Refactor endpoint management") Link: https://lore.kernel.org/r/20210118075816.25068-3-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/implicit.c')
0 files changed, 0 insertions, 0 deletions