Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3926139iog; Tue, 28 Jun 2022 05:46:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tJ6PLjtLcNq0aYugQIqtPD7DsjdgeQD7r0t4CUQfFcAt/awlEugzLbPXGrDpoj2yBmGFjy X-Received: by 2002:a17:907:1c97:b0:6f5:22ae:7024 with SMTP id nb23-20020a1709071c9700b006f522ae7024mr16939916ejc.570.1656420380044; Tue, 28 Jun 2022 05:46:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656420380; cv=none; d=google.com; s=arc-20160816; b=At0hlfrhN4ItESOW/gggctG9B3OtJoE/ZSF45ivs4UjgnniN1X4MvKtCbFLdgk9TTS pzoFjZcRsoh328Zj818Vu4iQR/eBk1Y7YQSE/+2d2oeG5QpBDW9asSW/U5fbGlrS/sSt Z5QnUZVZGFU363G74qP6/h+EhCJ4dpYUZYAvnsp8Gir76WZ1Wh7OyGllQw1AkjIYVdQl skuTRl8LetOlv1iFxs9+1MGeBVp/4wA40jQXprdZo0zAUUDAFCwhNkf8JKJbCDWBmjxS ZPItvlrPlhQWW/VeBuG9KvmLnGLxff5cw/t2YxjBXhjzMXEHLniVGMpF1CS2yZSsx6ki xeAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RVfbgOitG18bb87yWBkH35J4JenCkCxRi/ygXGcpbt4=; b=HvdxKUF2cfhNmND72/ho7iR78/cI/Mv9Rp0c4xrz2TMypUlCDb81QxcUIUmq4uDNWN fJItd8zBBYr3kgBAVHJUgtX7q7OrcZw2gqUuWiNpN+2QdHAUdF9jzdygK3mjkm/GDIni 694+Aye0GEGw96FhaRNw8r/4iyDlChqLdSmf++PjXElq7+Visb8y9AjWrQSMQqB7tVdz CwcnePjnsBCcSxwzTZVyXcFc2wDlUgA0Ac6tPmpNPraNviapkuTM+/gU8L7b1/FpT09V ZLfkm62gGsazgI8c6hLBAxVkmk3cYsKn9y+iKpsSVDR/xl2iPUR9vOEG5QYRttGLOj9C SKMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tGDyMj1X; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s13-20020a508dcd000000b004356ae0bc86si13898037edh.396.2022.06.28.05.45.16; Tue, 28 Jun 2022 05:46:20 -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=@linaro.org header.s=google header.b=tGDyMj1X; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241831AbiF1Mcw (ORCPT + 99 others); Tue, 28 Jun 2022 08:32:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345720AbiF1Mc3 (ORCPT ); Tue, 28 Jun 2022 08:32:29 -0400 Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D70B82ED59 for ; Tue, 28 Jun 2022 05:32:27 -0700 (PDT) Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-3178acf2a92so115272987b3.6 for ; Tue, 28 Jun 2022 05:32:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RVfbgOitG18bb87yWBkH35J4JenCkCxRi/ygXGcpbt4=; b=tGDyMj1XdbwFx5ENUdMBx7m0pmv1IRVf63OHKrsDLJaeKTSSU2j33ObLxTEK/a1s7Y jrOPoEx2nYoNwN/ceD5w9u66ehVEcvbB7E3vPaR+lDZvoKpzNs1eTK0ER7hkvQe6m/VL vc+wfNUJ6WJ7Sye6jdDw4Ow3y/KAqjzKYuY6qwnQ9WhqpoeIWOqI32MWXDG6n7fy9Cpk 6D931yS1B2I3am70V095kXKMLaW15fL1j0Hmj65paVEps+dGjAg7uti5JJ/xTsZ3ffcU /T1xlJJOoIPNCE4UuUNFGc1XtroA22QdqISWZXog6bvdHHDaXe0g6WdCDKQnW7q4V5ah E3Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RVfbgOitG18bb87yWBkH35J4JenCkCxRi/ygXGcpbt4=; b=jFHbVNvHg+Ey3TM53d4kbxkq+cKXPoXTtMsrAvt2oFXQ+eWjq+dIwVbDhrZV++ohhs b7dNeu1Sj5vS2+xhDiTtFKIFk0UnSU6vAiHRf05ZbqX5BKNCLTPps022BKSTiHxlcnWp +YgSZiD/ItwcXxiQZgiwzSdkvFiM5xCS/P7xlA1EjhibwWWi/IQibmHpbdGcuuNJ7VID 0cIsiClt7PwlSbC4bgoP+FT3olM7NWUOK95xxEKvAVJE4XuZx0M1AVgo8ir4K41PtB9B S87rYtifI2tLUq61mG4xe6VKiUMIMK0V1BXReFal51dgMOO/To0gDZSQ8EPIGq7ZbyTX P+0w== X-Gm-Message-State: AJIora9ZjQy7L+J2n8BmxH9DjT52LlZbngYCBaQiGBiGhm7aahZxNZLG fAIgJj6DksFFhsZqmqc2fmbwidAKsw0vfwEXyGS7xA== X-Received: by 2002:a81:d05:0:b0:317:76a1:9507 with SMTP id 5-20020a810d05000000b0031776a19507mr21222754ywn.151.1656419547105; Tue, 28 Jun 2022 05:32:27 -0700 (PDT) MIME-Version: 1.0 References: <0e3c48f0f38b167d83feb102284eaf24caa8c500.1655723462.git.hakan.jansson@infineon.com> In-Reply-To: <0e3c48f0f38b167d83feb102284eaf24caa8c500.1655723462.git.hakan.jansson@infineon.com> From: Linus Walleij Date: Tue, 28 Jun 2022 14:32:15 +0200 Message-ID: Subject: Re: [PATCH 3/4] Bluetooth: hci_bcm: Prevent early baudrate setting in autobaud mode To: Hakan Jansson Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Mon, Jun 20, 2022 at 2:02 PM Hakan Jansson wrote: > Always prevent trying to set device baudrate before calling setup() when > using autobaud mode. > > This was previously happening for devices which had device specific data > with member no_early_set_baudrate set to 0. > > Signed-off-by: Hakan Jansson Reviewed-by: Linus Walleij Yours, Linus Walleij