From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A672C4332F for ; Mon, 7 Nov 2022 12:13:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232083AbiKGMNr (ORCPT ); Mon, 7 Nov 2022 07:13:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232038AbiKGMNf (ORCPT ); Mon, 7 Nov 2022 07:13:35 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2F60140B2 for ; Mon, 7 Nov 2022 04:13:30 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 457FD225E7; Mon, 7 Nov 2022 12:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1667823209; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=BtRKlCfT3nD5E2+gZ8AE7U6LCD2QxF/bDBPG1FXzSL0=; b=neP6u3g0iwSdZj9P96zdGPAXDUJHLSMNYxU6W4w/WdxgIU/V+GwnrLYF9rZDvoo5+lLzIQ +vYptq76/iOV1/VAydX0MeRHqLvrqLEjoBD8VMQ8qt65Xm3+CRfUTJco1zqt33jHwx0Z6i NKV3U7qWt3+E2bxNRwAdq3Tl1Sl9gQA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1667823209; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=BtRKlCfT3nD5E2+gZ8AE7U6LCD2QxF/bDBPG1FXzSL0=; b=rmEqOv5tcqQxtujw5jGWE0ECKWRnEbjC2tYAi+wFqULeha+qee+uIcYZmjiIg4Aq1lri3W 5VyMVZ6+AdphPPCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1EE7913AC7; Mon, 7 Nov 2022 12:13:29 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id YYuKBmn2aGMGLgAAMHmgww (envelope-from ); Mon, 07 Nov 2022 12:13:29 +0000 Date: Mon, 07 Nov 2022 13:13:28 +0100 Message-ID: <87h6zbt11z.wl-tiwai@suse.de> From: Takashi Iwai To: =?ISO-2022-JP?B?GyRCZ2hENhsoQg==?= Cc: , , , Subject: Re: =?GB2312?B?u9i4tDo=?= Re: =?GB2312?B?u9i4tDo=?= Re: =?GB2312?B?u9i4tDo=?= Re: [PATCH] ALSA: usb-audio: fix Hamedal C20 usb camero disconnect issue In-Reply-To: <41c727u0jt-41c727u0ju@nsmail6.0> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-2022-JP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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