Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3539167ybz; Mon, 20 Apr 2020 04:57:28 -0700 (PDT) X-Google-Smtp-Source: APiQypIUDrPjkKqbYjT9PdEgP08aFoyHqNSENIyzHbIsYTd0z+7icm9X56SvBBLTudg8y/ki5kUW X-Received: by 2002:a17:906:e01:: with SMTP id l1mr15293172eji.76.1587383848603; Mon, 20 Apr 2020 04:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587383848; cv=none; d=google.com; s=arc-20160816; b=rAQwXelNoo9I0heaL2wf3GOzPQFMpSNlbaKQdTvdsgws4SAwh6amfgzL9rbEH4YbWQ CDlezlkJWCUzxGjNhmyq5Y2CYIUOl0Jld7q4BB5tRfp6rlM5CtOadlYxtSpzH7pU01ZU 2nFLtD8P4HmrPB/rjJxObFFRtPxpfALFrmNvkSpEBi1NGv5FY88KJdesANo7umQU2aJ1 aN76TtlTaV/BIcfXvwg3MSEUK2gCVgJMXbgv61FcQhX6bZny9dg5o6e5ZYDWH4YVgG1D ZmBBtohM/A41oPBeJFCwM802eLmLLw3BwhOV4aO32iiP7rtB45+ZJheDVDgsIGcai777 KQuA== 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=G75ycipgYh3BzGzGfO3AsO2FJWOZiqx83AQbRPGl/w4=; b=ylSkjv82iSqiBh4AVMrxI04GoGrJnUM3adOo0Uz3MZfTs0KebdaEnPsI7hXXom2zzh oX1209WznUDbx/Uvf1GV4m0cSH2ObDs9KZtofLJxNPmCqsbdkSVq2KPkL3VZbTouW+6j JMR5OfokQAg/y9U73wegj2wNeskSrXRjjeSttqRZIQV6g47xpyaAYyNtTFfjWyUIBvZs KUE98MeHKONDN/xIaAG143Mmd7jdxWq+JKKL0evmm/H6qZBtfQGTxF16HNLKJiO+GvoQ 8owafD5s5nqaBqOyvScfkbHTEMLgHsHcTxqrEejq0gbrfDNfPHBPSc8JibAaTHb2+k22 FL9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ukae1GDH; 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 ks15si438415ejb.223.2020.04.20.04.57.05; Mon, 20 Apr 2020 04:57:28 -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=ukae1GDH; 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 S1726916AbgDTLz2 (ORCPT + 99 others); Mon, 20 Apr 2020 07:55:28 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:50298 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726496AbgDTLz0 (ORCPT ); Mon, 20 Apr 2020 07:55:26 -0400 X-UUID: 8cbfb7c460d0456ca6432414d944c442-20200420 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=G75ycipgYh3BzGzGfO3AsO2FJWOZiqx83AQbRPGl/w4=; b=ukae1GDHcJMmsq2JCdcQfACm1ErS6V0y9GxlzzhgRVsntqwu7/tMG6z1bbznV/WKGANPXmHMsO2fNaq/yhOVs1SyMJK1NRYHJfwr2zXOaWpAJYKI5o84NJmwxcdn7FDs9x2OsISvWOB2MN5F0sHnG+oQTbQXoDqhhromAMsEcKc=; X-UUID: 8cbfb7c460d0456ca6432414d944c442-20200420 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 1819460659; Mon, 20 Apr 2020 19:55:20 +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; Mon, 20 Apr 2020 19:55:11 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 20 Apr 2020 19:55:11 +0800 Message-ID: <1587383712.11642.0.camel@mtksdaap41> Subject: Re: [PATCH v12 1/6] mfd: mt6397: Modify suspend/resume behavior From: Hsin-hsiung Wang To: Lee Jones CC: Mark Rutland , Kate Stewart , Alexandre Belloni , , "Richard Fontana" , , Nicolas Boichat , , , Frank Wunderlich , Ran Bi , Sean Wang , "Rob Herring" , , "Matthias Brugger" , Thomas Gleixner , Eddie Huang , , Alessandro Zummo , Josef Friedl , , Sebastian Reichel Date: Mon, 20 Apr 2020 19:55:12 +0800 In-Reply-To: <20200420111522.GB3612@dell> References: <1586333531-21641-1-git-send-email-hsin-hsiung.wang@mediatek.com> <1586333531-21641-2-git-send-email-hsin-hsiung.wang@mediatek.com> <20200416084910.GX2167633@dell> <1587379959.6297.2.camel@mtksdaap41> <20200420111522.GB3612@dell> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 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.kern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