Re: 回复: Re: 回复: Re: 回复: Re: [PATCH] ALSA: usb-audio: fix Hamedal C20 usb camero disconnect issue

From: Takashi Iwai
Date: Mon Nov 07 2022 - 07:13:49 EST


On Mon, 07 Nov 2022 10:01:08 +0100,
艾超 wrote:
>
> I tested the hotplug 、record and catch the picture, this interface reset
> doesn't cause any problem.
>
> In snd_usb_endpoint_configure, It set false to interface to deselect
> altsetting at first.
>
> But , if skip the interface clear (ex. ep->cur_rate = 0;), there is no sound
> output.

OK, then just skipping the interface reset at closing PCM appears to
be the proper fix. Please go ahead and submit the patch for a new
quirk with this type. Thanks!


Takashi