Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3488906ybz; Mon, 20 Apr 2020 03:54:31 -0700 (PDT) X-Google-Smtp-Source: APiQypKa0R8/BD8zT85bdTOumnNaNgIvqkdbjRVMDixegMzfGuj6dpEPI+aoAeGzfPPiChSHaK0y X-Received: by 2002:a17:906:f1c3:: with SMTP id gx3mr15717464ejb.25.1587380071094; Mon, 20 Apr 2020 03:54:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587380071; cv=none; d=google.com; s=arc-20160816; b=CFmc6vN61DTGy9nF+rLjHhpuhZCyZzR/klM92pJ1+MiRwoNBGVWyOT+dNwLCZOkU50 qdAhUrlRWE2+WqCuQiEuHkippEm12l2aBUPyYMnnczuEs4MSXUv4rwQGyRgM4ExoTYJn Z1xmDuGJB1nU8DKQMowG+QsPu2eOB/xemvc/U7ESzubFpxyzMG7xLrUC7hvOb20m3aT0 EKigneZJoYg4PpiU1STtwCxxCMoyFH+rEE+uhCCMRYJS4x+p5W08N9yeGcjso1AQeNR3 gmK/d1FM3En3so0fUI1UGldStF8y7eFi8d2j0KpQIozxQT6rC6K5DbbVT2UYt3+0GUX0 nSvQ== 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=5ZSYvBnifQattuM6WwNJ4dWYpkcL8v4PWiqKlXsfHC4=; b=bfvcRzsk6KiJ+SY/5kMUmfgGmO5MaSYm9NpMQ4AsKUoT1HcOR+Rc3GmWFZdGlUObFU 9TEIUYy9clCFg8puDh+5eLeh7Gjxszi0dQKvJfZLfQibuN9HF6HlHm//u+R9svcfg+3/ M0Q9nCQDSOrRiLfWNIMooCWbA8au/46xIvAzVQZecbUZ7hVWl/nNZD4uDs2fztMB6Nkw qdMsmJUb9JwgAFCUYmzHdxTv2MOtjrR3+55WMoXRZfkiWuKSz8tHYuY53zDmZj25sga4 wts8bsUdgP0eT3/i1F3vswU6na3ToqR7GpoiTz55s9SK8/xRuZZsYEQlY1vra0UkLNt4 uFlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=MQEGkVTE; 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 ce3si365866edb.286.2020.04.20.03.54.07; Mon, 20 Apr 2020 03:54:31 -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=MQEGkVTE; 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 S1726167AbgDTKwt (ORCPT + 99 others); Mon, 20 Apr 2020 06:52:49 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:18640 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725773AbgDTKws (ORCPT ); Mon, 20 Apr 2020 06:52:48 -0400 X-UUID: 10f5262b28c749c5bcbed67e4ec0dd43-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=5ZSYvBnifQattuM6WwNJ4dWYpkcL8v4PWiqKlXsfHC4=; b=MQEGkVTEJjor7u4n/2Ncwn0pFev7mIhXwkIn1iFmGxsdVQ+XfMW8QCKOgE413wlgZlHJD9/E/qlViXeL/UqqZjk17Kkox+fjXjzgAag0IXZAp4E9l8Nfg32vOzXyfOM59XvtcW1rnQ5gLi4ACDc+8HCFnvUdoHQtSvgCG286y1k=; X-UUID: 10f5262b28c749c5bcbed67e4ec0dd43-20200420 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 2007460060; Mon, 20 Apr 2020 18:52:44 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 20 Apr 2020 18:52:38 +0800 Received: from [172.21.77.4] (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 20 Apr 2020 18:52:37 +0800 Message-ID: <1587379959.6297.2.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 18:52:39 +0800 In-Reply-To: <20200416084910.GX2167633@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> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 665BB53A9B209DF474DE368E25DAC4D6E7703353C21B189088EF792896EB3DFD2000:8 X-MTK: N Content-Transfer-Encoding: base64 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