Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp329841ybg; Wed, 3 Jun 2020 01:47:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuvhWHMNB4AC60O8dWX696vJBYbTIoclSeatLIMEhqMzT0eb6WKzZ3pXgLyGBOnntfdhWS X-Received: by 2002:aa7:c790:: with SMTP id n16mr21340720eds.54.1591174077170; Wed, 03 Jun 2020 01:47:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591174077; cv=none; d=google.com; s=arc-20160816; b=EacYM6tYzp5BsZAsdPooea08+9tBzohArtffsQcVxlyLx7oQBG7y7fKLLCQ3NPJSnZ WtXMjHa3vailkRIDbz45lEIguxN+t4HazIcFj86kTAGJlH53NfngVLG1yqsD31LL1DSu Zihc7LniPFHRzBaJ4Bu6r+gULSwykHWj4gwlVu6joiMuzIMblADe1R9N3ad+8SZ5cntS Z2lK+tkqUJtWPOKJawYZ3PZDUSicBEwL56+hvtKPMw1uwiE8BcumHsZ4p4T8TAlINZNS uAJ0zPMkvWp+/IadfSreT/dNKzasZjdPMyXspmQYv0nqwB1Gu7hQj+mQzZHi0aE9sRXu yq3Q== 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=GqhgG6L1zGtST6u5yF493LQmjohmvvIpbn2zNdLG3lI=; b=SZP02YJgXtrqAPHF3hazpL8OobmaPzsncBRikJG5NWs6z2vy4BCrVL3Yaf4Qk2cedE C8t4q5Mg5t6MjWd8i5c6ErhKcTdGcVncXJPnpFji/uDrlqDGQGAACNxssH48h5a+HEP+ rnLedm7bq3NQckXn1fCRWGuZ+s2pG4zxM0oUlg9Rc/r6pUoZvpMOVEbVCTaBR8fh/ePb whFb5c845fXzwY0J4JuEKkBYM1+PsYTw9CMnMQsb7StNjw0u688n6sfvCHpL78W/miFp EfpfYibg/SDWnLXrCKIkswBmCaD3tbFAc0aG7K3qc82rtWfqlZlT1+sn3myeNgoaElGd Hhyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=EglGzROt; 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 c15si475987eja.376.2020.06.03.01.47.34; Wed, 03 Jun 2020 01:47:57 -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=EglGzROt; 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 S1726316AbgFCIpc (ORCPT + 99 others); Wed, 3 Jun 2020 04:45:32 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:37350 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726243AbgFCIpc (ORCPT ); Wed, 3 Jun 2020 04:45:32 -0400 X-UUID: f30f1bf5163c40d4b518c5f6d536a3c4-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=GqhgG6L1zGtST6u5yF493LQmjohmvvIpbn2zNdLG3lI=; b=EglGzROtLnjGP6UZ7vtLOLO5lL7jNEVYEoUCIoIuLfLHEOTqUvF9DjQG4pbPUSbhipRSvqUq/8y9yfbB3PixdysjiKhpCwP1Kc8RRtA3Om4bWvICDizKNaBk7433ramkhTVmPUezXbIx6d7GXgKnXMF0Pujhp2WqTGC92QMAMlc=; X-UUID: f30f1bf5163c40d4b518c5f6d536a3c4-20200603 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1543401211; Wed, 03 Jun 2020 16:45:29 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Jun 2020 16:45:26 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 3 Jun 2020 16:45:26 +0800 Message-ID: <1591173806.15527.1.camel@mhfsdcap03> Subject: Re: [PATCH v2] usb: host: xhci-mtk: avoid runtime suspend when removing hcd From: Chunfeng Yun To: Macpaul Lin CC: Mathias Nyman , Greg Kroah-Hartman , Matthias Brugger , Mediatek WSD Upstream , Macpaul Lin , , , , Date: Wed, 3 Jun 2020 16:43:26 +0800 In-Reply-To: <1590726778-29065-1-git-send-email-macpaul.lin@mediatek.com> References: <1590726569-28248-1-git-send-email-macpaul.lin@mediatek.com> <1590726778-29065-1-git-send-email-macpaul.lin@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: CA6D6B5CA1B57E8E80E8EA32F96818490747DA2EE90F21A39CF72B716572D3462000:8 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 T24gRnJpLCAyMDIwLTA1LTI5IGF0IDEyOjMyICswODAwLCBNYWNwYXVsIExpbiB3cm90ZTo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