Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2965907pxj; Mon, 17 May 2021 14:19:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzP+oPkNLFICw1QHpr/jv+0xtIsZTr66eJBKkRK65m7auS4Qg606C7Vqgz214scn+jx2w/+ X-Received: by 2002:a92:c26f:: with SMTP id h15mr1334564ild.298.1621286381030; Mon, 17 May 2021 14:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621286381; cv=none; d=google.com; s=arc-20160816; b=rIV0/yqecwOBspydMX1FEBld+LVfaDCX1GUAmkfHIf7MZzIbIGOCoUBSbmAq0ka/yS SZUIzHjwlOlgzKPJA+c06/S+WtgVOPBR4q+penHPrY7f8IOqFLFTDg3TSjblcIbMy+je CoidmQ7tZ0EkNjDcgrbkALmPwOmIjogJcj6bD/UxRCgeGXpEmt27d94e5eIb+q7BGl6Y ONxfEeZLKwRDCPoyCCUi9Rp6UzXMiighxf/gXpdB+NoDw8N252DIj/zqFRMfBvtALrkm wV0xAbZ+geS7qITaN2brm4Mio7ccODB94C6OKbfpGl8kc4uYXphl8UypOtCPO00V0qYM zsdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=jZbja1WiOq2036//OsKYvyR/2SqetXXAM5F4t9QgXi8=; b=ARY7mT4Kdzu7JItIpsFlXI95XuJPaAd7vFwbTGa9A41aF0eaoGvLKnoJERtukxZ+LQ 3b0FFh3MUITsDv4dY+oQ1s5tdFDxpNSGF+r0G5J69MKSQhypI1L9NMbD6n73Ae/aybBM k1ukH9sDSqP+jsD/WpYa7N5j4lPSN/cen53ygMDp23kAPy0id+85iCvPe6fdkLwEw5mR d3+RHlbhSThz2HaPZkX0pmnb+QX7XA8zYbI72YD5g8RCpzlft+awRWwU+QW92XQ+eWjM UhxS3SgdKj0+XlQ9WyfM+KdlfBQSulOQECFireanjSf9Azpl5uDeohD6tUg2EGO70eR0 JcFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Xa+Au7Wg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b3si18127767ilj.20.2021.05.17.14.19.26; Mon, 17 May 2021 14:19:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Xa+Au7Wg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238382AbhEQOKO (ORCPT + 99 others); Mon, 17 May 2021 10:10:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:59666 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238081AbhEQOHg (ORCPT ); Mon, 17 May 2021 10:07:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2989E61364; Mon, 17 May 2021 14:06:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621260365; bh=vwUpeB1vgOiMO5h7q4PTSqXlj01aCiDWEzW9M/4srSQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xa+Au7Wg89zUg2UphuszR0UL7v587EDajirGfvNGOLwDIHc34bsH5Sxs5w5XRoU8x t0xow091D+Bx1TQRN2TbqwxnLRahBho2QwZvAKBAWQawqdu3zHeoeMPVo0zvOnboC4 DV4G9klWaAbCufZLJIrVmnmlQILSofzJH7jG2IOk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "mark-yw.chen" , Marcel Holtmann , Sasha Levin Subject: [PATCH 5.12 048/363] Bluetooth: btusb: Enable quirk boolean flag for Mediatek Chip. Date: Mon, 17 May 2021 15:58:34 +0200 Message-Id: <20210517140304.230981606@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140302.508966430@linuxfoundation.org> References: <20210517140302.508966430@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: mark-yw.chen [ Upstream commit 27e554a4fcd84e499bf0a82122b8c4c3f1de38b6 ] Adding support LE scatternet and WBS for Mediatek Chip Signed-off-by: mark-yw.chen Signed-off-by: Marcel Holtmann Signed-off-by: Sasha Levin --- drivers/bluetooth/btusb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 5cbfbd948f67..4a901508e48e 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -399,7 +399,9 @@ static const struct usb_device_id blacklist_table[] = { /* MediaTek Bluetooth devices */ { USB_VENDOR_AND_INTERFACE_INFO(0x0e8d, 0xe0, 0x01, 0x01), - .driver_info = BTUSB_MEDIATEK }, + .driver_info = BTUSB_MEDIATEK | + BTUSB_WIDEBAND_SPEECH | + BTUSB_VALID_LE_STATES }, /* Additional MediaTek MT7615E Bluetooth devices */ { USB_DEVICE(0x13d3, 0x3560), .driver_info = BTUSB_MEDIATEK}, -- 2.30.2