Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp485894ybg; Wed, 3 Jun 2020 06:06:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5FVRcFG2cG2p9y0aL889l/joXye9bGxlPe6AlSOrAvNWqJ0ng/Tl8E4MrvR47o/d8MnLa X-Received: by 2002:a17:906:480f:: with SMTP id w15mr6688568ejq.430.1591189587419; Wed, 03 Jun 2020 06:06:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591189587; cv=none; d=google.com; s=arc-20160816; b=EiKJqbRulVL84vXG4Q8biAoMssufD1UNjhE44/U8jAQS5YZoX7jQuwXsTh5AM2fkhy nN6rlTQQTCFNt2L6/Bjp2WPrxHfh/bFI46lC6q81ois7wdFp4zQxebiAGoZHV23Qemec lYh9aoyyU8MR04u454GDrSoQ/GaJz+lcrf8pMqx1TUn2Mh7d1FCbavSesQWLr7IOAycY As8KvvH13kY284OAUi1o63I1gHdSXtXJp4brTUv+ikjgCl6IF/+ScALOP3oh2orITgWJ HDBcJ7dHS0nh/EYtBonqqIs586dHUxJNLDsx814AOyqKv4n/JbEOJN6W9c1pXypSrfwk 3AFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=4T4GZu2BhBmei0L8cxQIJh1W9EQOektqEZeHV+JC9ko=; b=fJ47oBqA+WQqzTXcKF6FDOqWRPCRIZu1EYbzzSHSKb00hnZt9kGGvSqaFSvSj81n1Q KCowS0xzU9no5T1h4F6q/6T5gBNBE3v2PajcvW0SMAtNVCEWjtdlkx4dht8/BK3NdLdV 00+U2qqheKZPtb7jnX6sbOKqK1Av68Q9hVqJTr1p0QftBnWrKm+mxNnZ/ifPkDi0xHsr bx1qYAkyuwZbXjBh1ReDIvH+HlrU3RVsUXzyr+zLbxiyjo4pOEn7j1hpYJeyc/vJRPpE HjJ1k+YfW+zMNu905wjAt81CZkJ/kkhQkk0IBh7rmLtXB7Itq/tQvxbCosbQpT6D8vE2 yBww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Vm6d7M2i; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m15si1020090eje.453.2020.06.03.06.06.03; Wed, 03 Jun 2020 06:06:27 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=Vm6d7M2i; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725948AbgFCNBb (ORCPT + 99 others); Wed, 3 Jun 2020 09:01:31 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:63051 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725833AbgFCNB3 (ORCPT ); Wed, 3 Jun 2020 09:01:29 -0400 X-UUID: a04f9c17f0f14a85b9f425e09bc82981-20200603 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=4T4GZu2BhBmei0L8cxQIJh1W9EQOektqEZeHV+JC9ko=; b=Vm6d7M2iXShnUXPqPG/6Uw7SJYLRssCcEXVgJODiqyHSSQG1tBCE9WULJBnW0tf4gClUKWe1Cpk7LccVeSXEIvJx4csFxIYToGazbUHfu0LrwU8wHoY86pAxbO3Ck7L1qpQj5caTQwhJHFt2dQOGvSd23bTl3kkLoMbWupal5HU=; X-UUID: a04f9c17f0f14a85b9f425e09bc82981-20200603 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1363244390; Wed, 03 Jun 2020 21:01:25 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Jun 2020 21:01:20 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 3 Jun 2020 21:01:22 +0800 Message-ID: <1591189283.23525.67.camel@mtkswgap22> Subject: Re: [PATCH] usb: host: xhci-mtk: avoid runtime suspend when removing hcd From: Macpaul Lin To: Mathias Nyman CC: Chunfeng Yun , Mathias Nyman , Greg Kroah-Hartman , Matthias Brugger , Mediatek WSD Upstream , Macpaul Lin , , , , Date: Wed, 3 Jun 2020 21:01:23 +0800 In-Reply-To: References: <1590726569-28248-1-git-send-email-macpaul.lin@mediatek.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIwLTA2LTAzIGF0IDE0OjQ3ICswMzAwLCBNYXRoaWFzIE55bWFuIHdyb3RlOg0K PiBPbiAyOS41LjIwMjAgNy4yOSwgTWFjcGF1bCBMaW4gd3JvdGU6DQo+ID4gV2hlbiBydW50aW1l IHN1c3BlbmQgd2FzIGVuYWJ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