Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp585333pxv; Thu, 22 Jul 2021 07:33:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK8Rby5CPhkabpde+IPjO8Wf4L9GpIiQigEAXm3Z0w9EhXTY0HjzVEzhIKA6xNzSDEJG2J X-Received: by 2002:a92:d3cb:: with SMTP id c11mr125312ilh.178.1626964400616; Thu, 22 Jul 2021 07:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626964400; cv=none; d=google.com; s=arc-20160816; b=b7+/ys26NOIozcREomi6aWEHYBEhz2vQEfVbLQypg/wQ/0eIWQHUM5E8bhvzeb8WVW 23XcE0K/OMuwU2aIIR53TCe44YAaMRIPPd6P4kPeqleC5EEKlUR3ZkkN4ZPu/7yW++/r iRhIfvxIfqukpAhOjNNSId5vRY+KWj66hgjEI5UHswF26HepBOtAHGLZ8t7iQnZATYXs NpNvtKaP7k9MexwDAdp5UMYYkyeCH6a8B/IdQMj0D2orOr5RGRhg2Vh+877TeVdjPREG 9lgkUcS3c4Jei//9uM0eluIgdI3N1iHvWiHk8+rkKnSqYA72npMGKrdqVB3QYYTERdRu cVtQ== 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=c766AIDy2DGcNN5Pbh19ecQp3rq0IbF9YZgzkohXCEc=; b=g+MP/6ULq0v93bNZV3uvPtyZS7ZtOBkzFeM8uiyXpN99EgtjO3zCGUhgpRQbky5xUl 1H7+3f8iwu33WwA48wYDeNQeKI4lH1t9ryLUSRl+3p9/BUM4V5Tc2M9dJFlwIoS0qwn8 H0HMDgkyrEwkMfjBUcbMQaoqJq7ghygqg50DkSbhETES9Z+KqML1iwO94HKFZmVP2415 P8IRsl9VtH908ZpC+NrWYGv1AJk3hS+FZK7g0Bv/gAkASLoT9U3y9O3k1J/AhgWFFfhm 7uFYX/p+RByyF5Ud6yocBhs8hZHwj686SQj4yoBTsp/YauAgEs7qBOHZGP7DOPmB3Pzw 8wiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 z14si23687623ilu.89.2021.07.22.07.33.08; Thu, 22 Jul 2021 07:33:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232257AbhGVNvm convert rfc822-to-8bit (ORCPT + 99 others); Thu, 22 Jul 2021 09:51:42 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:49782 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230306AbhGVNvk (ORCPT ); Thu, 22 Jul 2021 09:51:40 -0400 Received: from smtpclient.apple (p5b3d2eb8.dip0.t-ipconnect.de [91.61.46.184]) by mail.holtmann.org (Postfix) with ESMTPSA id 536BECECDD; Thu, 22 Jul 2021 16:32:14 +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 v2 1/3] Bluetooth: hci_h5: add WAKEUP_DISABLE flag From: Marcel Holtmann In-Reply-To: <20210715225146.v2.1.I68649745bd11a83265f1e816bf34ecc82775e95a@changeid> Date: Thu, 22 Jul 2021 16:32:13 +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: 8BIT Message-Id: <57AE120A-78AE-4990-8D7F-BA8D8077B610@holtmann.org> References: <20210715225146.v2.1.I68649745bd11a83265f1e816bf34ecc82775e95a@changeid> To: Archie Pusaka X-Mailer: Apple Mail (2.3654.100.0.2.22) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Archie, > Some RTL chips resets the FW on suspend, so wakeup is disabled on > those chips. This patch introduces this WAKEUP_DISABLE flag so that > chips that doesn't reset FW on suspend can leave the flag unset and > is allowed to wake the host. > > This patch also left RTL8822 WAKEUP_DISABLE flag unset, therefore > allowing it to wake the host, and preventing reprobing on resume. > > Signed-off-by: Archie Pusaka > Reviewed-by: Abhishek Pandit-Subedi > Reviewed-by: Hilda Wu > > --- > > Changes in v2: > * Remove unnecessary variable > > drivers/bluetooth/hci_h5.c | 83 +++++++++++++++++++++++++++----------- > 1 file changed, 59 insertions(+), 24 deletions(-) so the set does not apply cleanly to bluetooth-next Applying: Bluetooth: hci_h5: Add runtime suspend error: patch failed: drivers/bluetooth/hci_h5.c:11 error: drivers/bluetooth/hci_h5.c: patch does not apply And I am really close to not accepting any patches for hci_h5.c anymore. This thing turns into crazy hacking and nobody is taking my hint to redo this as clean H:5 3-Wire serdev standalone driver. Regards Marcel