Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp702483pxx; Wed, 28 Oct 2020 15:00:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3qRyNVvd4BObWhB+TT9HMpzkh+PfmDVEbEHgSKpclEK6DN3Aqbk64bAjfyn7wLPieKgJR X-Received: by 2002:a05:6402:1a56:: with SMTP id bf22mr1042998edb.216.1603922416174; Wed, 28 Oct 2020 15:00:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603922416; cv=none; d=google.com; s=arc-20160816; b=ofmkoCjIhtIG1GAADHCkoBnCfcArGzg81ogGAdQJoyrHP2XY4PRmxR0e5CrjsqfczO +eZPGCkXYCcZ0wdDeLwx63+BshE69fd46Jom1YFPP5COxDedXg+gty9vBG1vpvEgmgWI GIvbb2JQIK3mlxNApDFntVKAO0q8ks3fALMAOab0sxl1rmqgHZo3JeNdQRmARbGY4DiJ Mh8oAMNO/rJCMZY00/Px0jaj4HeruxGmvITK+naDGIVxRaVM456ofjSJgeb7ZsMCiS+N 01CfoVV4TtLd2UxEUzQ9l9OpEwsOFnvk/oDjwMtSKr6JtuvYyGvv+0Nq57HPcnFuaOa9 1+6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=9zBRXWmy0od06WyBGt4SQdlF1bvL4TQhuBaLVHCVyq8=; b=oZndr5Hg+7UmmAMvQd7ZXNR6T1A/HIhZwaVRMxLLDAAshP71CALVSBE+gE5G2nI45y o9CZKtYB1v9WnS+/Phs6HYkPM+mOeWBC2Lri4nBUARTzx0dbTOujVfLBjpoIyOmBeB9s jljtKujKdfSTvAF/JeCPxszm9k1xvirhTMsf5savo9sDK+WX2P4H9uXVqSp7Ct2jLt6b vPuXV3c4R+bBVX4s8ZiHV9o5PZJSVmwUWZu2ivmsVzqHivbxAd+iOgo84j2+PLo3Qdtq 3cYb7qI/pMfaEaJpynUI71lNBzl28PoFPKsHz0WRrARDNmw5tgL7M1bq4xaKnwRnzj6h xjeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x27si418475ejf.95.2020.10.28.14.59.52; Wed, 28 Oct 2020 15:00:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729273AbgJ1V7T (ORCPT + 99 others); Wed, 28 Oct 2020 17:59:19 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:39462 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729148AbgJ1V57 (ORCPT ); Wed, 28 Oct 2020 17:57:59 -0400 X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 09S2axIW3006266, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexmb06.realtek.com.tw[172.21.6.99]) by rtits2.realtek.com.tw (8.15.2/2.70/5.88) with ESMTPS id 09S2axIW3006266 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 28 Oct 2020 10:36:59 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.34) by RTEXMB06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 28 Oct 2020 10:36:59 +0800 Received: from localhost.localdomain (172.21.132.186) by RTEXMBS03.realtek.com.tw (172.21.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 28 Oct 2020 10:36:58 +0800 From: To: , , CC: , , , , , , , , , Subject: [PATCH] Bluetooth: btusb: Add more IDs to usb_device_id table for Realtek RTL8822CE Date: Wed, 28 Oct 2020 10:36:53 +0800 Message-ID: <20201028023653.2760-1-max.chou@realtek.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.21.132.186] X-ClientProxiedBy: RTEXMB03.realtek.com.tw (172.21.6.96) To RTEXMBS03.realtek.com.tw (172.21.6.34) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Max Chou Add more IDs to usb_device_id table for Realtek RTL8822CE and also support the wideband speech capability. Signed-off-by: Max Chou --- drivers/bluetooth/btusb.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 1005b6e8ff74..4a1f877616d6 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -425,8 +425,22 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x0b05, 0x185c), .driver_info = BTUSB_REALTEK }, /* Additional Realtek 8822CE Bluetooth devices */ - { USB_DEVICE(0x04ca, 0x4005), .driver_info = BTUSB_REALTEK }, - { USB_DEVICE(0x13d3, 0x3548), .driver_info = BTUSB_REALTEK }, + { USB_DEVICE(0x04ca, 0x4005), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x04c5, 0x161f), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x0b05, 0x18ef), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x13d3, 0x3548), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x13d3, 0x3549), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x13d3, 0x3553), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x13d3, 0x3555), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x2ff8, 0x3051), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, /* Silicon Wave based devices */ { USB_DEVICE(0x0c10, 0x0000), .driver_info = BTUSB_SWAVE }, -- 2.17.1