From patchwork Wed Dec 7 08:20:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dicheng Wang X-Patchwork-Id: 13066751 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 086EDC352A1 for ; Wed, 7 Dec 2022 08:22:07 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 42E54189F; Wed, 7 Dec 2022 09:21:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 42E54189F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1670401325; bh=Hw0TiWuXRsmUHnm9Db5f6ZyROf/5pEgIkXzbtiHNqUY=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=XreUSdrWxRSXuNfUgnUGDivXYiFYzB2h4pY8T1mjZkPspq1i5T4yX/rymc6BWoFjr 8r1WSQxrnnvqZRPFbMvyZZug7qBaHyzHCfFy1MPVN2ZS7aZ3Y/nA+armV1lCPoMxCV cDE/O+BZPUdy8FOUYE249gjCFUaEwwKxmbrwWYIM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id AFC14F800EE; Wed, 7 Dec 2022 09:21:14 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8C049F802BE; Wed, 7 Dec 2022 09:21:13 +0100 (CET) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01olkn2080e.outbound.protection.outlook.com [IPv6:2a01:111:f403:704b::80e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 56B16F800EE for ; Wed, 7 Dec 2022 09:21:06 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 56B16F800EE Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=hotmail.com header.i=@hotmail.com header.b="IadKVhk7" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZdRxHryjXAUQ8wXlr8ucykdyDY/b0FX0RpT9MP53t/W3LwC/QaJuaDUW9SCY082sn/Pw8RLFMD2pRqWAlReWFEsDqbW44woXxaDFFWGIZ5OzwywV7Whqx9rmKdTlzezcvPRBFEcZoBj0h6XvyFX5uWKTZLuqK4RUWM3EMUl9gzCa5OKb0ASV+jLo+XFYTEBMhWzRttgCZXSdD1L4DIKvzwlWDyYhUz7sGMBPKSyzjbveUM6rQchwagH+GZxjWgOuu5OOtG3DPGE0HPLF+5Ja00XwvSOK9uAZc+letuiqKi0VV293HFW5bRjEjuRRNnq2ILd/OO4xYJPmOn8tdQN5DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3ygrx8jG4GN9LmJLO6IGTc3kPJztQLPVgtjoAyjN1eo=; b=e+/MAi+kWlSbM4yMgGK5jn4J5MurdqnRfZfEdntixmncFHV7WrLryMeBubt5to5OB8EMgzf9yM6UECfU/WkHcgVCiPK4KF3HfjZz7DLCmJRhs3hGX9MmYMUrM2pvTkLipghCSPHLhPdKoUENIN+fOU9cVHnvlNhMF6miV4h9deco5E0msn/eW98iPjrBoaA+4obrV0FT4HXzmUgcPSJ8MbCiZ4qGEW4zQ9Pnrql2x8f2qTYVwzUdgMTwB4Ouumqf4KA3oUKAZiGyoTxad56DFYNcZa7Gxs9V+oeaDA1wzda/pTBmEjXEqJVuHxMPfwyPGvv+GLbIwCWnQ+JSOmkTGQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3ygrx8jG4GN9LmJLO6IGTc3kPJztQLPVgtjoAyjN1eo=; b=IadKVhk7uRPmNmSuGOVJnS7xnzN7eSNCcTe0xpTWpVUbGyXD0ZV49ocTF96fxtS4W5m4kJoOEtAmOQBSrCvbsGTHU46oMUT1lKtp4QyJ9BWT71P8h6nX4OAyNJ9g/pQ6ouZs+pblYVDFUlT03EfLXeEtqZ162wtsbV04hBkIgUKhNuXNn36EWGBKU0zBotP3GLbF+ndipoQLgUtdVMxXV5PmRGyhZg2Tct0MgQef8MS7A291INiakwpmGwgCWKx62vMe+E3RLh7t5x/OUXGpNXEJ6SlrIPo1JEwTA4yxsxdvH9mIXJvqNdEs52TKWjtbnRnRZnk4pj6nQyZUfsas9g== Received: from SG2PR02MB5878.apcprd02.prod.outlook.com (2603:1096:4:1d2::9) by SEYPR02MB5896.apcprd02.prod.outlook.com (2603:1096:101:88::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Wed, 7 Dec 2022 08:20:58 +0000 Received: from SG2PR02MB5878.apcprd02.prod.outlook.com ([fe80::2c81:c803:d49b:eebb]) by SG2PR02MB5878.apcprd02.prod.outlook.com ([fe80::2c81:c803:d49b:eebb%6]) with mapi id 15.20.5880.014; Wed, 7 Dec 2022 08:20:58 +0000 From: Dicheng Wang To: perex@perex.cz, tiwai@suse.com, sdoregor@sdore.me, hahnjo@hahnjo.de, wangdicheng@kylinos.cn, connerknoxpublic@gmail.com Subject: [PATCH v3 -next] ALSA:usb-audio:add the information of KT0206 device driven by USB audio Date: Wed, 7 Dec 2022 16:20:36 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 X-TMN: [LLheTn0gQfsL2VV5tZPlQ6OMH9Qk/MsQ] X-ClientProxiedBy: TY2PR0101CA0033.apcprd01.prod.exchangelabs.com (2603:1096:404:8000::19) To SG2PR02MB5878.apcprd02.prod.outlook.com (2603:1096:4:1d2::9) X-Microsoft-Original-Message-ID: <20221207082036.79728-1-wangdicheng123@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PR02MB5878:EE_|SEYPR02MB5896:EE_ X-MS-Office365-Filtering-Correlation-Id: 90f33004-89e8-411d-8088-08dad82bf7ca X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LCTqkMB//P4vt36i9/oB1p1euwMqBI924fKQ0jjn80GD276eRaWdNj5JB1HqGRhIO6UzjwP/gH84CjD8RN4CQNt+NPJ/mlvF820Acc20yHmYmHGf6oIQz7Z7PbBbBrSlRINyOYUAUKYfitmyDwNjWqrHvZ1UCfz7tRj0kpucDgaa7iwcj5lVDV2lBfEFv5SdS9Y724H/SyD17wM8PL+EUt5jCRfiZJ32i06cjT9fK913poggfkXgzM5iCbk2+0+MnEbBDGP3gd3G4X7fTch6q0Y2EYKXJZFgEeFhaMtHWk1J8TEhDzMF8MqFyekYi0nKXl9X4ckplFbw+egV/Ljr5+Yg6eqGqEnYq+k95/cnLiAfQGjyZc/eHxvhsSP0Y+veOGefb7+scomebjeY1K8/1zi76e33BPEyas7DovQDh5OuR2zLn2r7ZpluZiGrl1r/G1dmLOIep9Y/t7xJrOhltmW2Cc2HokkH3x71Psikn36Wm+J210EkywiQBPirJh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Rv353ocxK7rGFSE4lDXH2QfCYWzJgraAkQVSh3ffHuOyYgHnnVFwvX2thGM+YowWWhUCj59MUbCmgpxx05071Qc1R81nKGJ3Qsw1dkAh4YVaZXxgPDpIaW4/Jex7OmRcJuSYoUp4NshsOtcAyfYSrBkafVb3IFCgEC6jNohyzmmVIM5rVNYA+OUYNNKX+WvQz775/PSHMfe0dt7yHQAEgs56M2jSxcwu4fhUgopRAiTGxGgAVHQDD2jBSBxaYMEs2PQO6Y7qoTPIFjMKxyIj4VmqO9EkBbauaCH5oL60Ct2tjpKXifjIdOXE0KH598M7vF1wiX7eijkrleFHnLeKjqALKkA6QI72X2iyLLs8mBD+R58M5Sol8ZlqdMSnAgg0BLzES7XPl71pPIPhNcGAanKuCxiYVX7r0+Pg205rrlLTeY= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-20e34.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 90f33004-89e8-411d-8088-08dad82bf7ca X-MS-Exchange-CrossTenant-AuthSource: SG2PR02MB5878.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2022 08:20:58.1452 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR02MB5896 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: wangdicheng Add relevant information to the quirks-table.h file. The test passes and the sound source file plays normally. Signed-off-by: wangdicheng --- v3:add body information v2:use USB_DEVICE_VENDOR_SPEC() suggested by Takashi Iwai sound/usb/quirks-table.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 874fcf245747..271884e35003 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -76,6 +76,8 @@ { USB_DEVICE_VENDOR_SPEC(0x041e, 0x3f0a) }, /* E-Mu 0204 USB */ { USB_DEVICE_VENDOR_SPEC(0x041e, 0x3f19) }, +/* Ktmicro Usb_audio device */ +{ USB_DEVICE_VENDOR_SPEC(0x31b2, 0x0011) }, /* * Creative Technology, Ltd Live! Cam Sync HD [VF0770]