Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1193379ybe; Thu, 5 Sep 2019 11:44:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWZ74RPbrzc0TZGXrsQKKLfeJ/VSoqJOxL7CUjnyskfKGjAJz2Hg3hsWYwLPbXRgV/R1W3 X-Received: by 2002:a17:90a:8a94:: with SMTP id x20mr5552720pjn.102.1567709040316; Thu, 05 Sep 2019 11:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567709040; cv=none; d=google.com; s=arc-20160816; b=ylHcJf/ysJvRXAzZr49LLhKHPt2/NmYAOBOcaBrVWSFebBkshFbohczUCw523Xc7CO 9J/C3wAh/mzeGpCepZPEc1uE9XBu35Z73NGgKwIgB2rxwR5bYvrNS+i2KFWxl88Q/gxi ieOvOF/S0KF5wgckybiMQh5+cxHJr37P5Puo1ieSC066kFZnpejvu0dFe1yPWkWEtt70 gHzWvHSGzqyLjmH0RVv4D6iKDbv8C0X+Or5xLAD/LVpQkBCilQE0w7VlfVIebaJuRcG0 Dxr1PYYvhji3CHdP0KNjmtVtvdjMLbdeB+DxienArZKqMtjHE7xUhRl8o3i6vXXCcb6i bp4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=mFvPQ4FqAkKF4hRABMvOpBJWu776UhUPSFOwagtDxVc=; b=BHKEolIDIh5P3lkGqpX6abzbxQAlIYpTzN2/ZDINNUHKFlDJ0DV8w0dwiu37IvNibg yDYnzhsaj1KO97mq0WEzia6KKVpkZi3V5aV9hBwrup6RyRNHkb56X8rGrPdJY1ZdyG7R BMEMlOOzjP+a4Jb8emBVz8JeKQfQpzJQR8vjmycJPH4ZrsuOaX7j5OgiMOcRR8wuI17W OnTqtOfkbRCydUfrBmqLf97GaTzLSqhGOSaOPqsWxhD6Yb/lZHHhCqB5+Catth0FRvj3 Yc9AtsKwO02ayg1YJzIAg6f5wYxcteD0rd1Fjag8qLmOyNgR6Da19JhdATBkwguuGayY +dSA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si2802501pjp.4.2019.09.05.11.43.44; Thu, 05 Sep 2019 11:44:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732341AbfIEPdT (ORCPT + 99 others); Thu, 5 Sep 2019 11:33:19 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:59874 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731960AbfIEPdT (ORCPT ); Thu, 5 Sep 2019 11:33:19 -0400 Received: from marcel-macbook.fritz.box (p4FEFC197.dip0.t-ipconnect.de [79.239.193.151]) by mail.holtmann.org (Postfix) with ESMTPSA id C2496CECD1; Thu, 5 Sep 2019 17:42:05 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [PATCH v2] Bluetooth: btusb: Use cmd_timeout to reset Realtek device From: Marcel Holtmann In-Reply-To: <20190905023631.GA29398@laptop-alex> Date: Thu, 5 Sep 2019 17:33:17 +0200 Cc: Johan Hedberg , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, Max Chou Content-Transfer-Encoding: 7bit Message-Id: References: <20190905023631.GA29398@laptop-alex> To: Alex Lu X-Mailer: Apple Mail (2.3445.104.11) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Alex, > Realtek Bluetooth controller provides a BT_DIS reset pin for hardware > reset of it. The cmd_timeout is helpful on Realtek bluetooth controller > where the firmware gets stuck. > > Signed-off-by: Alex Lu > --- > Changes in v2 > - Provide a dedicated btusb_rtl_cmd_timeout in case of Realtek hardware > > drivers/bluetooth/btusb.c | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) patch has been applied to bluetooth-next tree. Regards Marcel