Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp264345pxb; Wed, 11 Nov 2020 03:09:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxADDweGaw25kPsis0p6TJJ5IsjoyPGmkJPpXc+Fv/NOQvuFV/jmJl8gSCnyVoxk+ukFNrN X-Received: by 2002:a17:906:c407:: with SMTP id u7mr24934055ejz.261.1605092985793; Wed, 11 Nov 2020 03:09:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605092985; cv=none; d=google.com; s=arc-20160816; b=VqVaEc9PVnRu5xNNt/Lkfpk8dGID0N5N6FjIn/Oei1rdNEEF+FrDr4hwUjkhiBxzq1 WWPBKC1K/0WoVQuSqBCMiMEA3i56iPhrItrhjqahSsXOX/hwWKeGaVbwYcX+TnreGwQ2 a/INO5l6ka/riOBtNOIsxjK1qp9APJ2d/mYrGQiivB16CltDHb9oP1n5ecxQPFrn0rT9 iWnK8mcn/UUYDg9gGBBSaeexJeaUvkrP49/XUjKFUnauKS0Xi1mprg3l3U9K6PZvYMHh uYjhrrRvh5MfDT3sFhEQlwMWGQZcX/IPlk2WKWsGU59uDMuoWYSvWzfIEopBxtF/qEU0 dcDg== 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=/KB8tuYr1IWEpygWB/K4Sq8sIOfNyq494dU6dYhGQ+c=; b=vTS9hWcHVV2pLwEpdMUz2IO7kfdKqLb/tTZYndqIXnqZ0fgH/yll4tGR7swypElqnj 8U1QPfy0BD0EXEfR46ddvEoG9WoR5ki/1qzYJVFI1CMPR6G9LMkl3S/lci3mG5abulCq 5dkrOSXsH1DgMGZc5gbwYNNCbstOL0/Lvxu6Sv6AQ04r+EgGBhcYrLLr0/MN9E6lCi4Z G10NV9lQ/Tue7AuL14wu5lfk0cDlq6BOwruxoUTiVXe7q8cqAow9/C8kSrgzF7TztokR bxhvT4bd1uv1b6HGqeByG7RtaAkIzrea6OgrhX+wi//rM4sTxRb8p1KqgpK+oQuPZ6B5 gnaA== 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 g20si1047999eje.577.2020.11.11.03.09.19; Wed, 11 Nov 2020 03:09:45 -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 S1726236AbgKKLIn convert rfc822-to-8bit (ORCPT + 99 others); Wed, 11 Nov 2020 06:08:43 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:47375 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726198AbgKKLIn (ORCPT ); Wed, 11 Nov 2020 06:08:43 -0500 Received: from marcel-macbook.holtmann.net (unknown [37.83.201.106]) by mail.holtmann.org (Postfix) with ESMTPSA id 6C76ECECFD; Wed, 11 Nov 2020 12:15:50 +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: [PATCH v1] Bluetooth: hci_qca: Wait for timeout during suspend From: Marcel Holtmann In-Reply-To: <1601997621-12056-1-git-send-email-bgodavar@codeaurora.org> Date: Wed, 11 Nov 2020 12:08:40 +0100 Cc: Johan Hedberg , Matthias Kaehlcke , open list , linux-bluetooth , Hemantg , MSM , Venkata Lakshmi Narayana Gubba , Abhishek Pandit-Subedi , rjliao@codeaurora.org Content-Transfer-Encoding: 8BIT Message-Id: References: <1601997621-12056-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 qca_suspend() is relied on IBS mechanism. During > FW download and memory dump collections, IBS will be disabled. > In those cases, driver will allow suspend and still uses the > serdev port, which results to errors. Now added a wait timeout > if suspend is triggered during FW download and memory collections. > > Signed-off-by: Venkata Lakshmi Narayana Gubba > Signed-off-by: Balakrishna Godavarthi > --- > drivers/bluetooth/hci_qca.c | 48 ++++++++++++++++++++++++++++++++++++--------- > 1 file changed, 39 insertions(+), 9 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel