]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: add quirk to fix Hamedal C20 disconnect issue
authorAi Chao <aichao@kylinos.cn>
Thu, 10 Nov 2022 06:34:52 +0000 (14:34 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Nov 2022 06:50:30 +0000 (07:50 +0100)
commitbf990c10231937c0f51e5da5558e08cf5adc6a78
tree7dfca9f68b266ed2ea53a53cc4c2f90efb2d2cdb
parent79e28f2ab3440e08f5fbf65648b008341c37b496
ALSA: usb-audio: add quirk to fix Hamedal C20 disconnect issue

For Hamedal C20, the current rate is different from the runtime rate,
snd_usb_endpoint stop and close endpoint to resetting rate.
if snd_usb_endpoint close the endpoint, sometimes usb will
disconnect the device.

Signed-off-by: Ai Chao <aichao@kylinos.cn>
Link: https://lore.kernel.org/r/20221110063452.295110-1-aichao@kylinos.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c
sound/usb/quirks.c
sound/usb/usbaudio.h