Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1709111rwb; Mon, 7 Nov 2022 05:02:32 -0800 (PST) X-Google-Smtp-Source: AMsMyM7pednCo07dbwn9E7QlUIxMNhHlyj6RdpXqR1/SE1l745v0vsqc47Y9qKyD2ALn9r35mU7c X-Received: by 2002:a05:6402:428d:b0:460:b26c:82a5 with SMTP id g13-20020a056402428d00b00460b26c82a5mr51645620edc.66.1667826152666; Mon, 07 Nov 2022 05:02:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667826152; cv=none; d=google.com; s=arc-20160816; b=hnBGck+vafpCTZ5n8shwdgymTpk2PPB2XK229dTdLPE+81O4dVpOQDZr5rHYW24o4O H/544bATyIr5QaZX2Druc9hkq/4YjbUq57f/JIVbCpcH6s2ppcrmhVn7Q6XbmjG+pjc3 HSzcnEdv2TnvYiWJbCnowkDL7Xd3IzipzllKaWSjEq9dfLfkEMyMMgitifXbtp+BJZdt pyqq612L0AiZVC6fX5DkY+bGxbSbDYd2rbwph1Kl+tGw4MTHIDG/9hBJkSRhMynk07Tx T4wybiwdUjBSWQQ5g95DuuACoYy+deAq9jUyRQ+1OFhnxz+RFmyiK3E5ALVC/tRD3RbI EyWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:in-reply-to:subject:cc :to:from:message-id:date:dkim-signature:dkim-signature; bh=BtRKlCfT3nD5E2+gZ8AE7U6LCD2QxF/bDBPG1FXzSL0=; b=N3hGPde0fgddpRb9PzaNlggTThUD6a3qZy3WA3T9JfdYVXe3YaTuebyESfONXIm0fr GeH7KzauHX8Q8mZ4yrYlrfjMksWmncskGDsvpcGh3LpnVUwCwQb0H3HMnWRYMADosmFB ifXORmKxDOWBPZLBcaEFbDenKSZQ2FIWaHFbN+8Ugah8eEsDS62Z60aCE0MouOGbqgoQ bn82tJfjK5661mZhdGw5AGKn7YAIOSm796Fvvc9+SEYEZBj9DqKKf7BGU4kidWdx20jr uOP3wESygbvYj2ZGKoC5c3QlT0jtI5E56HwD3wVYDxrzi8q+Mzh9gFdAyFa6dJTzJ3/U f3/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=neP6u3g0; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p6-20020a50cd86000000b00461d9b46883si9627271edi.519.2022.11.07.05.01.59; Mon, 07 Nov 2022 05:02:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=neP6u3g0; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232062AbiKGMNq (ORCPT + 93 others); Mon, 7 Nov 2022 07:13:46 -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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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