Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp223562pxb; Wed, 11 Nov 2020 01:54:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5+IJyAlYqkA1sIo+mSY0w3UA7QTKfOb2+q0B6bCfkroc/k/V5+b2hjy6kI952y/7UB0eK X-Received: by 2002:a17:906:f98d:: with SMTP id li13mr24044171ejb.307.1605088477434; Wed, 11 Nov 2020 01:54:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605088477; cv=none; d=google.com; s=arc-20160816; b=COa5XPBKFhjsIfzfvSnsTLrsmUB8JXVDVT15At/XnZHORIw5kDRD1wQkWlTK+8FqC3 FZLYKXcncf5keYoBTm7ppnwoZWVwxyez4aPH39lt63NMudGEg2gjnfnljwTuRb1Rkv/j +G06sXe2uR+KoUM5GatkJHnQwElu5k4mdILyfn8uUqtFcICJ3/e2wpz+foXHPSoxnugG NwJhHcsoCykye9Eo1TfjtIlZvwyig8OarSlSXbCnqdleNejB4inrwZx4GaBqrrlm1yeg hTo8iIGnRN01NAA6GvWo+gxrqkfpqhsuvdAMttbxFClXiSuoD4rCStOTW0x0Z1uP0EBz zKJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=p246Cqcruey6inJDZHm8eAsJ03c0cf5QG8G39tsQi58=; b=LimLTKXNAY9I9/IrCRNb4DOHNVBdQ0GKUUB3LyrtwJl0fdISRu/S7jgsLznr2iHPjo CoY4TqCiBIy3BL1HuUTc8vqQBYafINrSAdpCFLroDjYJ9pZ6hsFXswjkoSULv0K1kXj4 8+2l8vOk440bg7SMv3bwmGgaVTNTWhjKgwW9DzZ/Tl5zFNzvq35do+C6k0hczqVXH8zh 8dGMOyCOA382w4MlL20imcu/1D1rPV5/HegfTUQbXUMBqKiY+GTGeqLdjYoCTerjRDxQ 9LTqhnanjw0jYiwmJHYJ+KhEIbd/rWei4gRwQLvi81GENBlaOXS1E2ZD0ZONr/8cIpB/ AwEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id co26si1135787edb.209.2020.11.11.01.54.12; Wed, 11 Nov 2020 01:54:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726024AbgKKJyC (ORCPT + 99 others); Wed, 11 Nov 2020 04:54:02 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:46668 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725995AbgKKJyB (ORCPT ); Wed, 11 Nov 2020 04:54:01 -0500 Received: from marcel-macbook.holtmann.net (unknown [37.83.201.106]) by mail.holtmann.org (Postfix) with ESMTPSA id 3426DCECFA; Wed, 11 Nov 2020 11:01:08 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [Resend v1] Bluetooth: hci_qca: Enhance retry logic in qca_setup From: Marcel Holtmann In-Reply-To: <1605071653-5088-1-git-send-email-bgodavar@codeaurora.org> Date: Wed, 11 Nov 2020 10:53:58 +0100 Cc: Johan Hedberg , Matthias Kaehlcke , open list , linux-bluetooth , Hemantg , MSM , Abhishek Pandit-Subedi , seanpaul@chromium.org, Venkata Lakshmi Narayana Gubba , rjliao@codeaurora.org Content-Transfer-Encoding: 7bit Message-Id: <39C5224B-C574-4D19-A6D5-F3CECD1ADB66@holtmann.org> References: <1605071653-5088-1-git-send-email-bgodavar@codeaurora.org> To: Balakrishna Godavarthi X-Mailer: Apple Mail (2.3608.120.23.2.4) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Balakrishna, > Currently driver only retries to download FW if FW downloading > is failed. Sometimes observed command timeout for version request > command, if this happen on some platforms during boot time, then > a reboot is needed to turn ON BT. Instead to avoid a reboot, now > extended retry logic for version request command too. > > Signed-off-by: Balakrishna Godavarthi > Reviewed-by: Abhishek Pandit-Subedi > --- > drivers/bluetooth/hci_qca.c | 34 ++++++++++++++++++---------------- > 1 file changed, 18 insertions(+), 16 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel