From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 577D2C4338F for ; Fri, 23 Jul 2021 12:12:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3E3A660ED7 for ; Fri, 23 Jul 2021 12:12:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234770AbhGWLbb (ORCPT ); Fri, 23 Jul 2021 07:31:31 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:34597 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234385AbhGWLbb (ORCPT ); Fri, 23 Jul 2021 07:31:31 -0400 Received: from smtpclient.apple (p5b3d2eb8.dip0.t-ipconnect.de [91.61.46.184]) by mail.holtmann.org (Postfix) with ESMTPSA id 087D6CECFC; Fri, 23 Jul 2021 14:12:02 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: [PATCH v3 2/3] Bluetooth: hci_h5: btrtl: Maintain flow control if wakeup is enabled From: Marcel Holtmann In-Reply-To: <20210723193137.v3.2.I404c6df9cdab270223c13e867396f440dd4b499d@changeid> Date: Fri, 23 Jul 2021 14:12:01 +0200 Cc: linux-bluetooth , CrosBT Upstreaming , Archie Pusaka , Abhishek Pandit-Subedi , Hilda Wu , Johan Hedberg , Luiz Augusto von Dentz , linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <79A97BF2-9689-4659-A049-E160ED661022@holtmann.org> References: <20210723193137.v3.1.I68649745bd11a83265f1e816bf34ecc82775e95a@changeid> <20210723193137.v3.2.I404c6df9cdab270223c13e867396f440dd4b499d@changeid> To: Archie Pusaka X-Mailer: Apple Mail (2.3654.100.0.2.22) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Archie, > For chips that doesn't reset on suspend, we need to provide the correct > value of flow_control when it resumes. Therefore, store the flow > control value when reading from the config file to be reused upon > suspend. > > Signed-off-by: Archie Pusaka > Reviewed-by: Abhishek Pandit-Subedi > Reviewed-by: Hilda Wu > > --- > > (no changes since v1) > > drivers/bluetooth/hci_h5.c | 8 ++++++++ > 1 file changed, 8 insertions(+) patch has been applied to bluetooth-next tree. Regards Marcel