Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp9034782rwi; Tue, 25 Oct 2022 14:20:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6S5U1RlnxYAinRybLbUirajks9M0F/3ig/W9nlg5kOr/S9BicALHOSvfhwE1FX11cK3nDh X-Received: by 2002:a17:90a:f198:b0:212:c3cf:b8f4 with SMTP id bv24-20020a17090af19800b00212c3cfb8f4mr293669pjb.49.1666732835492; Tue, 25 Oct 2022 14:20:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666732835; cv=none; d=google.com; s=arc-20160816; b=UHtYlJWf8Zuvn5Q9E7C4OCGZpY4jHMfjXIqT/F6W3V8kmPfbes/DE1LAvenMuhUp16 3+9A0G4jR3wbuD/Q5DGm9NdsKCWfkspNsFtHFR+P124ZOFqfywzYopy+kTasTWWxmnce C5bpwzyLNfwTNMmp6L0OtFabQ8DX0GgvVSCt4lSgSj1AVvCO0f3p72PISDWuG/lYnirG DYDGKwCbktPSLU8f+7ZXVkCk/mxjV1wz9HPm93SKrEzy68gMymJ5gwJr0T6csb+geVEk jMrr/5Ors5IxKGPM34l2rHhUzOOtxouk8rzQKfA/hWG1HBGf5WxkQkKWnMhFPjUtLgaG JyVw== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=1j5E6UcwROAS9jfW/Gu/SH25ZzySS6zxIVHIV97uLD8=; b=oanFsiyIBpG7cNY/F8xR9BXraIL5CYxaEyoglClwJptEBKNxi1wOawFmuMRCI2ix2s zbnqabXyPXXViLvYTOE1n7hklMfdE3OU2WMV8daPlGxK2ENNdobzvxPdOcOE6FnMfEGM oJk6rG+Bg1vFYDNgq0PpFL/hQxVK4oKqNuCK/n5j2tiryTC4hHvSj9XTqtX7ReaYDeEb enVNiGWn6Q9La3qqcxGANmzNJI136WG9kacebL2+iD5GN8LAVXnMrpuVEIPwQHiNaTc+ UdGEnIII+/uHy8AZNuqtcObHuLtWruWdhIhtvmPrCPdWWrfULXTIyWbeQ2mw3r0qDH7v QihA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="lt+SQMk/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o5-20020a1709026b0500b001853b9b277bsi2182377plk.527.2022.10.25.14.20.14; Tue, 25 Oct 2022 14:20:35 -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=@gmail.com header.s=20210112 header.b="lt+SQMk/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231828AbiJYVNG (ORCPT + 99 others); Tue, 25 Oct 2022 17:13:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230447AbiJYVNE (ORCPT ); Tue, 25 Oct 2022 17:13:04 -0400 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CFC9106A55 for ; Tue, 25 Oct 2022 14:13:03 -0700 (PDT) Received: by mail-io1-xd32.google.com with SMTP id l127so11616005iof.12 for ; Tue, 25 Oct 2022 14:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=1j5E6UcwROAS9jfW/Gu/SH25ZzySS6zxIVHIV97uLD8=; b=lt+SQMk/rRguF/jZilDUuCpzTApyT+VTe7+IzGStwjw++s3Iqthkx/efmvyCN2dK+6 KVGuilyL04l3QWywWDVKw6v46ogCdqBQ94tZzeijcKzuBW6a9WbPuiKqPBGstQj6pSHu omjjribmfzJGvP+kOp14LEofZHb8tVbfKPwdopy2QorFQtYpyzqcC5XCxM3d390ZgkYU RYUPla46eqgSmiQH2dvFamQ0mej8DAoahe7Nb3bbCZsXLnbXffy83gXaYoorWunAmHJ9 WCTNs8JFo3MsI73HbO/AsCF9GqWjf74sdAf6IR4Cev6RK7OntHwUSeKUqAPThw6lhjhd ZrfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1j5E6UcwROAS9jfW/Gu/SH25ZzySS6zxIVHIV97uLD8=; b=02JbOOY7ETfhNAfA/henYjJ0l5Ls9VB4EPN3MrmkRoxfI4W+gfc7PLjyxiWksK/tZU gNOrKp66du+wcHU/B9XZ+T7icyC9PEZi0Wstehvst+hBW8njRbNQhSzZXfScsiJgNR1E 2rI6rmPzOScKoYbtYpVtddXIS6jFLp7nf53E2Dtjkhtr0CSypYKkOyAfw1cq8jzjFElj 8KnL9FsaZvwKJjaBQThjKVvtkFmog+51d2XEn1yU5kQbQrcVbasJf7yPueIKDiHrlwJK sj40W35oiQpGuiHlsCzTg+aJUoaQvEaxuR0uBRKig3WYzX0DHLDbCCZPyIh2K4QZ95nu mjQg== X-Gm-Message-State: ACrzQf39LeLYhcItbBfXTqKiMyc/Q0gis74ayaJ3+J1xwWPwq18/XjhV fQkXN6u9rcExxQ5CvUG7IAlhKPzgkCs= X-Received: by 2002:a02:662c:0:b0:363:c768:2b55 with SMTP id k44-20020a02662c000000b00363c7682b55mr26390629jac.5.1666732382410; Tue, 25 Oct 2022 14:13:02 -0700 (PDT) Received: from lvondent-mobl4.. (c-71-56-157-77.hsd1.or.comcast.net. [71.56.157.77]) by smtp.gmail.com with ESMTPSA id w11-20020a02394b000000b003636c046e73sm1253337jae.95.2022.10.25.14.13.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 14:13:01 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH 2/2] Bluetooth: btusb: Default CONFIG_BT_HCIBTUSB_POLL_SYNC=y Date: Tue, 25 Oct 2022 14:12:58 -0700 Message-Id: <20221025211258.1385541-2-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221025211258.1385541-1-luiz.dentz@gmail.com> References: <20221025211258.1385541-1-luiz.dentz@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 From: Luiz Augusto von Dentz poll_sync has been proven to fix races of USB data and event endpoints so this enables it by default. Signed-off-by: Luiz Augusto von Dentz --- drivers/bluetooth/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig index fc36057d546d..89b4d47b7c79 100644 --- a/drivers/bluetooth/Kconfig +++ b/drivers/bluetooth/Kconfig @@ -48,6 +48,7 @@ config BT_HCIBTUSB_AUTOSUSPEND config BT_HCIBTUSB_POLL_SYNC bool "Enable USB poll_sync for Bluetooth USB devices by default" depends on BT_HCIBTUSB + default y help poll_sync synchronizes the USB data and event endpoints by prioritizing the later. -- 2.37.3