]> 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)
commit41fa1c0a6f9df74fd3ba73c8c97acc25612fba39
tree7dfca9f68b266ed2ea53a53cc4c2f90efb2d2cdb
parent8986f4444dc895510ee8d9ab2f1ef7a67cd48b21
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