Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp252809imi; Wed, 20 Jul 2022 23:06:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sa26CUt9T0xf3iYah7FGdchq1RNbNSVm0XBIi8967rEOYH0rvuvOlysmskKlyjKWB3nfD1 X-Received: by 2002:a17:906:2086:b0:712:1257:77bf with SMTP id 6-20020a170906208600b00712125777bfmr39783979ejq.655.1658383587789; Wed, 20 Jul 2022 23:06:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658383587; cv=none; d=google.com; s=arc-20160816; b=ZjI/GJhV9r6yTCYkgGDGez2bPPMP/KvjfMZn+gFhVrRywepO8x4J34TG8uoW8Y+1vN adwtQDh2dCTt+NbJkK4BLkVHi2xOguLYuU6WGJtpvdPNYQ7GBFcsvl1wwIfRPBPyD6OS 2PTbBaWrrDGDq8FwgSE3GYvuGG6/EUVYT9aqwnkvhnzcwvEMdCGxz1+ks1LTdntblKdb pFGYdFGhN/tX3AIF5nmOnEjr0svETIgdZQcJuH6ORDRrfwWGqVD8f3TbYRvEaawTKguc ZX5VRwJ/YUExjXVwcYHO14IRDrv+fdkrHeiEaBhSR8CQXNzPs0bYBGDDlzRmBQYGBWEI AsHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=jTvBuX1RfhQw8arUQLUV8cuX3ez0nyZY3zlsiCDiilI=; b=g5DCbKk9FNsJzuTD+gBICWYHlsxg2t8vZUp/01ODDQvEq9raNK0QUp7qk/6g6IuWSt HpHV5KONaTGs6d0pNBZuqbS2Tu1eVIFEWGnHnBQCJnLdVef0Lq/+SfQ0LWPU8bIxPOjU LcWYV5BYpynCg4/CTICRPMMYY8dg5p3pKDHmEdji7pX3L1ENEWJp0nkiDevjT2IZK0/I D6FnbB3pFAyGEZVmC2n8Q81wWz+92MRkhe9IUg+rTmu6RmRdPTKGJRlOuiT3zqAijYhG YukylFqQHQBoFTjSGyVa1M+Q1XBR0sM1mpZ4qgelrmsVQRPOCQAA+TR9SH5QT/HZW+rU 8w5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=UFzwF2aK; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b14-20020a056402278e00b0043a86563d91si1542395ede.39.2022.07.20.23.05.55; Wed, 20 Jul 2022 23:06:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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=@quicinc.com header.s=qcdkim header.b=UFzwF2aK; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231934AbiGUGFG (ORCPT + 99 others); Thu, 21 Jul 2022 02:05:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231977AbiGUGFD (ORCPT ); Thu, 21 Jul 2022 02:05:03 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BC5F7B1CC; Wed, 20 Jul 2022 23:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1658383498; x=1689919498; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=jTvBuX1RfhQw8arUQLUV8cuX3ez0nyZY3zlsiCDiilI=; b=UFzwF2aKhsJBnCEe132xR71Gzi3FwqY1uyN3GFfDrZ0wQB1wxF+YQFZO edjsbdnRBxgoOakZo9xO34Y/SjmkmqG1wjBtIkwma/zY/qwma4O8rZ59L vvzjK37iHm8aAL/WXT+CLNUOq9k15XQO9P8Ffgl3AFAdfRsCjfOd6FyPv 8=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-02.qualcomm.com with ESMTP; 20 Jul 2022 23:04:57 -0700 X-QCInternal: smtphost Received: from unknown (HELO nasanex01a.na.qualcomm.com) ([10.52.223.231]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2022 23:04:57 -0700 Received: from zijuhu-gv.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 20 Jul 2022 23:04:54 -0700 From: Zijun Hu To: , , , , , , , , , CC: , , Subject: [PATCH v2 3/4] Bluetooth: btusb: Remove HCI_QUIRK_BROKEN_ERR_DATA_REPORTING for fake CSR Date: Thu, 21 Jul 2022 14:04:32 +0800 Message-ID: <1658383473-32188-4-git-send-email-quic_zijuhu@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1658383473-32188-1-git-send-email-quic_zijuhu@quicinc.com> References: <1658383473-32188-1-git-send-email-quic_zijuhu@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) 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-bluetooth@vger.kernel.org Core driver addtionally checks LMP feature bit "Erroneous Data Reporting" instead of quirk HCI_QUIRK_BROKEN_ERR_DATA_REPORTING to decide if HCI commands HCI_Read|Write_Default_Erroneous_Data_Reporting are broken, so remove this unnecessary quirk for fake CSR controllers. Signed-off-by: Zijun Hu --- drivers/bluetooth/btusb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 6b7e721bd57c..480ea891c09a 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -2087,7 +2087,6 @@ static int btusb_setup_csr(struct hci_dev *hdev) * without these the controller will lock up. */ set_bit(HCI_QUIRK_BROKEN_STORED_LINK_KEY, &hdev->quirks); - set_bit(HCI_QUIRK_BROKEN_ERR_DATA_REPORTING, &hdev->quirks); set_bit(HCI_QUIRK_BROKEN_FILTER_CLEAR_ALL, &hdev->quirks); set_bit(HCI_QUIRK_NO_SUSPEND_NOTIFIER, &hdev->quirks); -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project