Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp378665ybl; Fri, 30 Aug 2019 00:56:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxN635ylxsQIN2A27a5GSXFT/z+yo2obh8YNEnL90M82u6yCqy8viP8t72uYAo0DGxCcNhO X-Received: by 2002:a65:6281:: with SMTP id f1mr11220337pgv.400.1567151765782; Fri, 30 Aug 2019 00:56:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567151765; cv=none; d=google.com; s=arc-20160816; b=UN9IMrN5EGVoAb4h8inI7TEL2eyZ4WdL5UawVneXrLvxhvMcpJdCkx1nZduxFPYGCA WHa3H6t30tGySYq9+4NzndpAYeG6NpfCWhUNwNpm93+0vpXWMcVIzkG5GG8IrS+31zIN 1n79sKJCyYV7yZHOkbuOTIL1l7vVDjjzxgeNLvBwWYWGG16lvYrQN0zbK3ivAF/yw1++ /DjS8NB+eRPcopbRXNR1+zukuZfJB1Mxxuf8ku/MH5YegjtwYArEyg2ZaSet6++xma74 afVaTOOOSOLJJac/Mg1kMj8Px/Kb2qLqn0o+H7FoDIc9NB7QBz8JxBZLGA0+jztlTGe9 +d3w== 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=Xa3tp/0OFJDCOe6usCM/YVW2pGnlVRoAEkQAijJc7aE=; b=Is1m8M1HUBnjXfdPKg6ztR/HpS0s1TTJ4o5o17a4A2ObFvjIrVEQTlFJM6IJcuSu2k Kd8woJDrlae4BtFeI0ORZu4qBXolykgnSgk+X8Bf/GOP/TpreXCutcuLlt5gJGTi0Ak6 WFNqH8r2NT7SFJlqrh8YJzbF09F3oyjrETpFb1ODj3ALI/d03MSI/iCcRbq1V23lTgqn I0bU63V+tsEgUqBUj3KyMrqo3b9e6yiW+LgRkR0FjCCd+1jKWcAZRiVnqozR/PRvIy3w LtOytIsIDyw4vofZFJNNWMxnPQ9L7GHC2p2E8LA4NobPUuFUNQOfftVel7/GDzaf1s9Q yYGQ== 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 v6si4152965plg.246.2019.08.30.00.55.50; Fri, 30 Aug 2019 00:56:05 -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 S1727854AbfH3HzP convert rfc822-to-8bit (ORCPT + 99 others); Fri, 30 Aug 2019 03:55:15 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:40632 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726975AbfH3HzP (ORCPT ); Fri, 30 Aug 2019 03:55:15 -0400 Received: from [172.20.10.2] (tmo-106-216.customers.d1-online.com [80.187.106.216]) by mail.holtmann.org (Postfix) with ESMTPSA id 57771CECD9; Fri, 30 Aug 2019 10:03:59 +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: hci_qca: wait for Pre shutdown complete event before sending the Power off pulse From: Marcel Holtmann In-Reply-To: <1567141304-24600-1-git-send-email-c-hbandi@codeaurora.org> Date: Fri, 30 Aug 2019 09:55:12 +0200 Cc: Johan Hedberg , mka@chromium.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, hemantg@codeaurora.org, linux-arm-msm@vger.kernel.org, bgodavar@codeaurora.org, anubhavg@codeaurora.org Content-Transfer-Encoding: 8BIT Message-Id: <13B39C38-FBB6-4630-B238-D032FAB753CA@holtmann.org> References: <1567141304-24600-1-git-send-email-c-hbandi@codeaurora.org> To: Harish Bandi 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 Harish, > When SoC receives pre shut down command, it share the same > with other COEX shared clients. So SoC needs a short time > after sending VS pre shutdown command before turning off > the regulators and sending the power off pulse. Along with > short delay, needs to wait for command complete event for > Pre shutdown VS command > > Signed-off-by: Harish Bandi > Reviewed-by: Balakrishna Godavarthi > --- > Changes in V2: > - Modified commit text. > --- > drivers/bluetooth/btqca.c | 22 ++++++++++++++++++++++ > drivers/bluetooth/hci_qca.c | 5 +++++ > 2 files changed, 27 insertions(+) the patch does not apply cleanly to bluetooth-next tree. Can you send an updated version please. Regards Marcel