Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp7423788ybn; Mon, 30 Sep 2019 13:43:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqsoo+jMjyQO+VNYt67G8W1sulc39iqhjQhKWIvGcJxJ84xTfiiuskE8cCLtwQEiR1/kav X-Received: by 2002:a50:fa9a:: with SMTP id w26mr21889863edr.227.1569876182394; Mon, 30 Sep 2019 13:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569876182; cv=none; d=google.com; s=arc-20160816; b=zKRhUTiOPpz0NDIAvEp209l1oxkh39LwUYX7YY0BW24ILnDqvcL2oU4wF9qBhzK7xc vE3Ke6GVZS1PfmJz+fToIwuys/oqDzGW2Zx9zrnzfK5sZDkt4Qo7Z1yaRmGH5Nf4PO4A /HPfi0aflIVcD4gmofK/dtAYk4lQuEzqFGy2LX7BXKMCqsI9csCwhPxgz3sPttnOjpRN 0f2ZAa52NbPiwZmW7NDDzEtOHibNZMao3ygpsF+Hro1vVshBlgbDGuF4HSSY96ZRvVaD KisgDaBLebWKO+MlsUEeDTxrvk9Pkeg6k+cI+ZaWl/JxQXs/eQEOjRYYQK0ZlFuXfDKT JXFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :mime-version:dkim-signature; bh=lHN/tDnufQZObPeH7yuPF8yjfolHqJGmsLh3bQf8sJI=; b=KbXVMZ0voO7eO05uuVVJh04tfCLBwTdZLj3ejXwifxbKtoDEEjJdUAPS4HZKVZ99MT Pgo/CNRxBCn2BMx72tiIcmPfWcidU8Wji7hG1cOv6twIEN3Cf2+B9EkM7fH1WJEQlcla b8XHeZP/zuCj4dUj/wcJc0Ydukjlm8PPNTuflfdmrH/PgIagJWGvAXgjXkn7y/7wbx/Y rqJOxKud7EWQrbc5d1xXgx+l2dBX+qpzn0jaVY5ycsmjQWUiSXzK+AGQpmPv8bPaNino BxE3V/mvhlrOkXRKZOrwAIkZcAaHWWiNPWOHiGlINrAVbsZrdQL+DCeRvSjhlL+Uuc94 hFbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dYPTbg0D; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c12si7955963edb.394.2019.09.30.13.42.22; Mon, 30 Sep 2019 13:43:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dYPTbg0D; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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 S1730809AbfI3UlE (ORCPT + 99 others); Mon, 30 Sep 2019 16:41:04 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:41516 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729415AbfI3UlE (ORCPT ); Mon, 30 Sep 2019 16:41:04 -0400 Received: by mail-qt1-f193.google.com with SMTP id n1so18784807qtp.8; Mon, 30 Sep 2019 13:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=lHN/tDnufQZObPeH7yuPF8yjfolHqJGmsLh3bQf8sJI=; b=dYPTbg0DlUybLnnpGviIbEjsKj/G1+CfDUrB91glQtk/q0CXG94Id/SAfG1ZxoRXdP xiibhKBYUWuxsffCd/ksicV0+KWwT/5VmrgkvmJ6hM3v7sSwQQRCQ4w2Swyp00jFatZD g7hoVZ3q1oSt3Sm1ljliN+wY9tN/Jfnih1n68zd68TYpvcwk0UzoGNzxq8aVIOnDZfdi oGk+0wwgbDkUu6UZUKbf2+fPhliFVuldzjXkIeJKPnohMLjqUGzIRUXmKE7iASa4pU7U 8D0zA7k+TL2Vn9kFs6fXnqX6DAJxkoXwO6DqQkCQB/V2mxA6BzqkFouDd2Ji15ARZZvG eJ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lHN/tDnufQZObPeH7yuPF8yjfolHqJGmsLh3bQf8sJI=; b=TUdCwqRINxPBXpmvopKtV5tznaYgLjca8CIfd22zDkk9Sgi1wmVSemJQHSX81fmafZ RY1tApvlMiGAO07vlV6DKpNYdTpOdITljTUTr05lg90UnkwMSZ0k5YIZALuIwOFJcRqv fCBVoSWnTdwQEiAeAkOYPgF4QzoOIULqWr88CLtRFce6oGbiGsoWwahVV5WYyBvU1maF S+BzogB9qSi33A1+362Zm53tV+sBaUAfH0ZWAqmSArhQjeqCLh2i+tZypZ45QypSVgo4 AreqQrKBLI6guorVKNPPmyHZNCLpSt/A31Cth8d2eHwIp5ynCBO0fZePcCRnObclFpRk JMuQ== X-Gm-Message-State: APjAAAVYoWOd4EdDxAk3ShODe2mbHu1zy048imGtq4N9m1LQKRmqZ7oT Uue0HHC3OIx40oWZAO8K+XEl8vgvQq275qpk7e/0s500 X-Received: by 2002:a05:6638:3a5:: with SMTP id z5mr20882591jap.95.1569874230438; Mon, 30 Sep 2019 13:10:30 -0700 (PDT) MIME-Version: 1.0 From: Adam Ford Date: Mon, 30 Sep 2019 15:10:18 -0500 Message-ID: Subject: [PATCH] Bluetooth: hci_ll: set operational frequency earlier To: Linux-OMAP , arm-soc , "open list:BLUETOOTH DRIVERS" , Philipp Puschmann Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Is anyone else having issues with the hci_ll after a2e02f38eff8 ("Bluetooth: hci_ll: set operational frequency earlier") was applied? I have an i.MX6Q with a WL1837MOD attached to UART2. After this patch I git a bunch of timeouts when initializing the device using the 5.3 and 5.3.1 kernel. I know a bunch of omap and imx users have done some various tests over the years, so I thought I'd ask. [ 195.911836] Bluetooth: hci0: command 0xff36 tx timeout [ 206.071837] Bluetooth: hci0: command 0x1001 tx timeout [ 214.231862] Bluetooth: hci0: Reading TI version information failed (-110) [ 214.238712] Bluetooth: hci0: download firmware failed, retrying... [ 216.391834] Bluetooth: hci0: command 0xff36 tx timeout [ 226.551843] Bluetooth: hci0: command 0x1001 tx timeout [ 234.711856] Bluetooth: hci0: Reading TI version information failed (-110) [ 234.718705] Bluetooth: hci0: download firmware failed, retrying... [ 236.871832] Bluetooth: hci0: command 0xff36 tx timeout [ 247.031837] Bluetooth: hci0: command 0x1001 tx timeout [ 255.191852] Bluetooth: hci0: Reading TI version information failed (-110) [ 255.198706] Bluetooth: hci0: download firmware failed, retrying... Can't init device hci0: Connection timed out (110) Revering this patch fixes the issue, and subsequent patch proposals form Philipp haven't seemed to fix the issues for me on 5.3 adam