Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3990025ybl; Mon, 12 Aug 2019 09:33:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZu/1hagQXIKskCdgWC27T4HqGuUkZrkrh+X556jocD62kTnQKx7go25RRu3USeemLVcR5 X-Received: by 2002:aa7:9799:: with SMTP id o25mr11557116pfp.74.1565627631285; Mon, 12 Aug 2019 09:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565627631; cv=none; d=google.com; s=arc-20160816; b=Wfc5VNPuONpsBo6vX+LZXjbEuYKDQiIJIogJ2CnrwpMGgdGrQyIwn6WjzfOT4MK9KV 89pqXe229ooe6OK0anD+R/KQeyrSJ+G80xVVjhFUcYNdpJwUg6056vFVAhb6Hbi9EgB5 OpYekquPVzAW+X8MwCx3cK7Y2hYKKAyo4QK9/O5FltABRORBliCpsoR7HItm+dLCpbYG L8RI68+3yo7oikg2y2ZnIfbTrfHKhNL2enTtUNO17pkcTFL3FbHP/SE9d0h7Qn44gycp /mCWld2CMPZFKHRv3l2e+BMprVuck2VDjYFU8C0Cm1i6vIBSgLQbKotLg0v3fxkWd5rH gaRQ== 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=5qMlr42jm096RLvnL0/mhK7dfe9onQZ3QOyyOB3o1ZQ=; b=Xbr7JSNMa0AX1x0b6sHUa6+UWuOTqm2jF5QAnzPT7xTpXYdSI4DseEGLDk/2OX/DEe K9u3fmNwvvYnWm5msZpOFlZ4XWV9UO2eBPamDli8uxQbTqB03YBuXyZ/RiQ8tgWIo+ED /rjU0odr+G1RN7VyNLWw5sjpT3VcRPVJraKBBd+h+kuPaif10SnORSC47vMOm+TD0+yh ywW5FouqJ5MQGeTR/KVr0MRELPs0pHiT7lfKAzXKPVYr4hbHdVaBgJHzl2NZMFvPfcar z3uFrZ7ed2ixCsspkeg6FFUe6+0P+5foO9TxBHBxTFWzSJ8xLTT+uL8KfADrlZgkA48Q aAug== 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 i14si9373998pfq.287.2019.08.12.09.33.36; Mon, 12 Aug 2019 09:33:51 -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 S1725923AbfHLQde convert rfc822-to-8bit (ORCPT + 99 others); Mon, 12 Aug 2019 12:33:34 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:45039 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbfHLQde (ORCPT ); Mon, 12 Aug 2019 12:33:34 -0400 Received: from marcel-macbook.fritz.box (p4FEFC580.dip0.t-ipconnect.de [79.239.197.128]) by mail.holtmann.org (Postfix) with ESMTPSA id 664B7CECF3; Mon, 12 Aug 2019 18:42:13 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [PATCH v2] Bluetooth: btusb: Fix suspend issue for Realtek devices From: Marcel Holtmann In-Reply-To: <20190802120217.GA8712@toshiba> Date: Mon, 12 Aug 2019 18:33:31 +0200 Cc: Johan Hedberg , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, Max Chou Content-Transfer-Encoding: 8BIT Message-Id: References: <20190802120217.GA8712@toshiba> To: Alex Lu 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 Alex, > From the perspective of controller, global suspend means there is no > SET_FEATURE (DEVICE_REMOTE_WAKEUP) and controller would drop the > firmware. It would consume less power. So we should not send this kind > of SET_FEATURE when host goes to suspend state. > Otherwise, when making device enter selective suspend, host should send > SET_FEATURE to make sure the firmware remains. > > Signed-off-by: Alex Lu > --- > drivers/bluetooth/btusb.c | 34 ++++++++++++++++++++++++++++++---- > 1 file changed, 30 insertions(+), 4 deletions(-) this one doesn’t apply cleanly to bluetooth-next. Can you please send a version that does. Regards Marcel