Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2101912rwb; Fri, 2 Dec 2022 05:38:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf7tmO/c4GXpncPOY3oTWAABj9EfC0YF7YJZPQRqfpOWoXBlvhJTpCxyDnZ20m0ZGmsltkAg X-Received: by 2002:a17:90a:9e5:b0:219:5139:7fa8 with SMTP id 92-20020a17090a09e500b0021951397fa8mr18857297pjo.15.1669988305083; Fri, 02 Dec 2022 05:38:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669988305; cv=none; d=google.com; s=arc-20160816; b=PzU+LemjJe/k4+I0GzSJyb4rz4qkkogvtJtrBy1cb7C2q/NWw8abjzQGPFIbuso+by nKDton8jJG2KK0Fkg6dSJPk3Lt16Kc0bXfCtALPgZEZNKCo7y8egUcgxpzApC/Wuwy8E 9e+Z5ZA8whphrOT4vlt/1oPqcuh3giAbVG1FPU8Hj1QMw4GnND6Zj4oKdlUHsrp1Fo6H aYXjxXW+QWTqE3k5VED332kTCAmwWc1M9dEZyJlqPEo1n9lNZRNy4Z+a/VMgw7JcgOql Bg34Mompga+VNqaeE2+vPaukvajy7JInKfsYgGCJFwrGag9yB2lN3/IhvElCrOtdIL/T hKbA== 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:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=ziDC4wku+9nZYy20pOYDbXvY6zGCI5yr6NmjzJA9rks=; b=F0ME7SpvhmDbvhh1Mp3e6gZA444zuYasvE6AUp8CZEKcVlFNZUgpSCnfaFbnD4LNS1 eAjiDE4H0FpevRWuOIZj6Ni1V+9QxRbKNZbvo2E05vxKPBom/AlnXcb7P3ysdJkgc+8S J4mTxtkzlUW/HqiBLigPQSjW70IPY7VP4IKq43C+OYspL1S4OKUf1TOEo13FHT7i4AS1 HkQxzW7zXRnHv/FKpY2R1rGZpyT7hS6THzSaqvGPP012K9bdUKBoT6C3FI5+we65+/GL 5XHPyLvTAXFPQRKXvcdROH2f/bna+39K//paNwAMzozwNTC+WzmsFFRWpzFkSU8P4/pE 1dLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=bBJTOHNx; 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 oc15-20020a17090b1c0f00b0020169c73d8bsi8419141pjb.2.2022.12.02.05.38.13; Fri, 02 Dec 2022 05:38:25 -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=bBJTOHNx; 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 S233422AbiLBNPT (ORCPT + 84 others); Fri, 2 Dec 2022 08:15:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232011AbiLBNPR (ORCPT ); Fri, 2 Dec 2022 08:15:17 -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 C8B45C2D34; Fri, 2 Dec 2022 05:15:16 -0800 (PST) Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (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 8026121B98; Fri, 2 Dec 2022 13:15:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669986915; 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:references:references; bh=ziDC4wku+9nZYy20pOYDbXvY6zGCI5yr6NmjzJA9rks=; b=bBJTOHNxINOaPLEQSsBGm6AQOJZyLuQBIyAT81NugBzo70N/7g3d7so0VuUGMnuFpElFoR qA2Jf7GnRu+kXBmgtETBirnrqQjNHVngI5UJClOb5Fb1PvemjgHG60pjEGt+NzsiKiIYQF w8pYL9OW+G1QlbLdSaMla/inT8rmZFo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669986915; 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:references:references; bh=ziDC4wku+9nZYy20pOYDbXvY6zGCI5yr6NmjzJA9rks=; b=mAu6xNLHYwcLYVwbWUg/9bBzYlUOdO60N/rEJuQlCY7Mu5iFfKCHTt5a5SSRkOhFMxIQmE CAzqpVk3blgdkQCA== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (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 imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 51ADB133DE; Fri, 2 Dec 2022 13:15:15 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id 1OtNE2P6iWPURQAAGKfGzw (envelope-from ); Fri, 02 Dec 2022 13:15:15 +0000 Date: Fri, 02 Dec 2022 14:15:14 +0100 Message-ID: <87iliuoskd.wl-tiwai@suse.de> From: Takashi Iwai To: Dicheng Wang Cc: perex@perex.cz, tiwai@suse.com, sdoregor@sdore.me, john-linux@pelago.org.uk, hahnjo@hahnjo.de, wangdicheng@kylinos.cn, connerknoxpublic@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH -next] The USB audio driver does not contain the VID and PID of this sound card, so the driver is not loaded. In-Reply-To: References: 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=US-ASCII 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 Fri, 02 Dec 2022 09:29:08 +0100, Dicheng Wang wrote: > > From: wangdicheng > > Add relevant information to the quirks-table.h file. > The test passes and the sound source file plays normally. > > Cc: stable@vger.kernel.org > Signed-off-by: wangdicheng The code change itself looks good, but could you fix the patch subject line? It should have the proper prefix (in this case something like "ALSA: usb-audio: Blah blah..."), and the text is unnecessarily long. Please make it concise. Also, could you give the lsusb -v output of the corresponding device? Just to make sure. If possible, it'd be better to use the existing macro like USB_DEVICE_VENDOR_SPEC() or USB_AUDIO_DEVICE() instead. thanks, Takashi > --- > sound/usb/quirks-table.h | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h > index 874fcf245747..1fb183895da0 100644 > --- a/sound/usb/quirks-table.h > +++ b/sound/usb/quirks-table.h > @@ -2802,6 +2802,13 @@ YAMAHA_DEVICE(0x7010, "UB99"), > .idProduct = 0x1020, > }, > > +/* Ktmicro Usb_audio device */ > +{ > + .match_flags = USB_DEVICE_ID_MATCH_DEVICE, > + .idVendor = 0x31b2, > + .idProduct = 0x0011, > +}, > + > /* QinHeng devices */ > { > USB_DEVICE(0x1a86, 0x752d), > -- > 2.25.1 >