Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp930855pxk; Fri, 25 Sep 2020 01:24:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxByyU5tw1yD0vUn1nrbI5OZhjU0AIuI33F7rWReAvbC2OYgAzJMjTyK4kx9KMvvyFzgX4F X-Received: by 2002:a50:dec7:: with SMTP id d7mr93394edl.212.1601022283720; Fri, 25 Sep 2020 01:24:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601022283; cv=none; d=google.com; s=arc-20160816; b=R17lUp2SiXUmvoNrH5GazVckxaASpjyb/lFcs/uVfv+g4jkQQU+F+uwLnM8p0HvVOM 2h8EDg4OjjgknOPc1PEW5G2voq9ldwETYpRoDbG8rtcBSgvU8lkhN+EuwVI+KHhsPFxW s4Jo1Pl95lI1aXfr7Uw9fnc0M0U/RCaEol6dXXCvVZEfhVyql9AULB0q1oyeBJ9fbZ4k x0/n+skc8y5t38RWbCFvEkQziyY3kHd47vGycFjDjzkDSzVlappyUhPVpmYmEzoV46qC n5YJQkldpzvaUAuvCksC3KQmlPn1nGzwkKXPLYkKHDVy9lhwh9fPzSvGLkvRS4tXL6VA Jo1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:authenticated-by; bh=Hpi/PwDxJPtgUoArz8qnLrmEfnNj1SK1M5iqevdIrPY=; b=sYlqls8if4SraPry/BwNqXz+FHT/JXWXXIdgNLPAlftOumy5iiLyspqpH8VE0dNibC jntWGvLtcFxYKBolC7RZQmVEy1v9n/dh9IRGDRNgaiwwCvN5BGJWnPlRauhkTUzG9fBc bM+dLJYRqAgOUu3HZXd7UimCOldUN8V9uoYp5P9GD7RgG+M8wczHOp/D4Lno8bWceCQN sSITufl/ovlZHYtPUlDL9cGynkhdEX2u94MOUYq+x8XzNDGKzo766NPukwn6M9w8w+pk 9UAxqJ3PUJmn6tHleNljoPVVbSasCYxsb7B/Gjv4jaj4oOjFp8V1oS2llkZ8P4yADX9a 6DLg== 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 bh20si1251341ejb.294.2020.09.25.01.24.08; Fri, 25 Sep 2020 01:24:43 -0700 (PDT) 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 S1727290AbgIYIXl (ORCPT + 99 others); Fri, 25 Sep 2020 04:23:41 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:58193 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727068AbgIYIXl (ORCPT ); Fri, 25 Sep 2020 04:23:41 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.69 with qID 08P8NRU00031147, This message is accepted by code: ctloc85258 Received: from RSEXMBS01.realsil.com.cn ([172.29.17.195]) by rtits2.realtek.com.tw (8.15.2/2.66/5.86) with ESMTPS id 08P8NRU00031147 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 25 Sep 2020 16:23:27 +0800 Received: from RSEXMBS01.realsil.com.cn (172.29.17.195) by RSEXMBS01.realsil.com.cn (172.29.17.195) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Fri, 25 Sep 2020 16:23:26 +0800 Received: from RSEXMBS01.realsil.com.cn ([fe80::e186:b533:fb3:8b37]) by RSEXMBS01.realsil.com.cn ([fe80::e186:b533:fb3:8b37%7]) with mapi id 15.01.2044.004; Fri, 25 Sep 2020 16:23:26 +0800 From: =?utf-8?B?6ZmG5pyx5Lyf?= To: Kai-Heng Feng CC: Abhishek Pandit-Subedi , Marcel Holtmann , Johan Hedberg , "open list:BLUETOOTH DRIVERS" , open list , "open list:USB XHCI DRIVER" Subject: Re: [PATCH] Bluetooth: btusb: Avoid unnecessary reset upon system resume Thread-Topic: [PATCH] Bluetooth: btusb: Avoid unnecessary reset upon system resume Thread-Index: AdaTFDyzjigV3dr0CE6uDdt266LELw== Date: Fri, 25 Sep 2020 08:23:26 +0000 Message-ID: <30ce4ee1eede47c09c3e7f277c26918a@realsil.com.cn> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.29.36.107] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org SGkgS2FpLUhlbmcsDQoNCj4gT24gU2VwdGVtYmVyIDI1LCAyMDIwIGF0IDE1OjU2LCBLYWktSGVu ZyBGZW5nIHdyb3RlOg0KPiANCj4gSGkgQWxleCwNCj4gDQo+ID4gT24gU2VwIDI1LCAyMDIwLCBh dCAxNTo0Miwg6ZmG5pyx5LyfIDxhbGV4X2x1QHJlYWxzaWwuY29tLmNuPiB3cm90ZToNCj4gPg0K PiA+IEhpIEthaS1IZW5nLA0KPiA+DQo+ID4+IE9uIDI1IFNlcHRlbWJlciAyMDIwIGF0IDE1OjE0 LCBLYWktSGVuZyBGZW5nIHdyb3RlOg0KPiA+Pg0KPiA+PiBIaSBBbGV4LA0KPiANCj4gW3NuaXBw ZWRdDQo+IA0KPiA+PiBBcHBhcmVudGx5IGZvciBteSBjYXNlLCBSVEw4ODIxQ0UsIGZpcm13YXJl I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