Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2205923pxu; Sun, 6 Dec 2020 23:38:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJydLSrZVioC4MSapQIKbGmoHue60wwO1DAhjjaPrujl+E6KyOWESpzj/ZRloDCviRq+tfRk X-Received: by 2002:a50:eb97:: with SMTP id y23mr18662489edr.29.1607326696035; Sun, 06 Dec 2020 23:38:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607326696; cv=none; d=google.com; s=arc-20160816; b=iLEoY0i2+oR92DicF2nIvr+X26p59XPohmyDpoYRNjz78VZ8mQbTag9y/HpFoPq/pG f94DJyW/DiAXO6B4E156tHi5THPPUUZaJ74jHsAGTxBvpFZOUh3XlioGEu/G1URvyZJb gTSrETlqzLbY5MUpH8KbpcaIYtPRt/H/YKh1Fypf5L8is6BgKJitW6+L3uPFDRTnNCuI +7lIo00vX4VZt3t87BqiXdrOB0Qh16O/IryGHkx/CbLmUHsO8Gat24s7aCIQSp7a8XCA O6oeXewZ8sb7WZKOUhD//nKKm3Nm5r5tTukGraR4qoRagsucNajgBMbZrbNACqIMPwms gLoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=nxMwRSEvNImRt8FLT/HpQDb52ECXSjRWAqaVtLi/YSA=; b=Jtu9N6eMCtJPZMke4rPk8Go78DN48QMlS81yQ0UZSQcPHjP9yHxOUGfU3ct1xmswXI Dm9krvqHyw7vZiwt47zbtrtenIa6W4186QEAuxwCi/saCGD/6X9VBQ3TqR3+oX5Zq1Ca ZvmZkgaDmCA9SYjlhQrTj/FSv4Y6h5L06RFq1zlN/3PSt9VrXmkd9Sdsc48cOcg1Q/nq iybiZTgyBEbGxKUhcb9EFFrZz1XprXkAXb31mKqG7VKgi/DUSROzuW+Rdu8AM4gYlwTP MThO+fqTred++HjqOldvAwdYHyZ7+KCj9JVocJ+KzQMadnEs37ct8vJY7FpVHgn59cyU dAlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="D/ElVMRk"; 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 ga25si3196861ejb.636.2020.12.06.23.37.52; Sun, 06 Dec 2020 23:38:16 -0800 (PST) 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="D/ElVMRk"; 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 S1726068AbgLGHeu (ORCPT + 99 others); Mon, 7 Dec 2020 02:34:50 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:9117 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725853AbgLGHeu (ORCPT ); Mon, 7 Dec 2020 02:34:50 -0500 X-UUID: c595306f98a241539a3c857c5a4737bf-20201207 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=nxMwRSEvNImRt8FLT/HpQDb52ECXSjRWAqaVtLi/YSA=; b=D/ElVMRk8klFNvyJvUfwhPYrrvN9bs5WTguTCg3QFQ/XcLF6Swxo3VmEFIEMXMvGyAidS4HqAQ83UlF6kG/JpBJDE7Y0UxtQnBWetyQe6SjcVAy7q0s4kQM3DcPOJMikjDDCIVoMnKyWQi9KEQ7H/jp14xnpd05vm0QIv0KHgko=; X-UUID: c595306f98a241539a3c857c5a4737bf-20201207 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2077601130; Mon, 07 Dec 2020 15:33:52 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 7 Dec 2020 15:33:50 +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; Mon, 7 Dec 2020 15:33:49 +0800 Message-ID: <1607326431.25719.33.camel@mhfsdcap03> Subject: Re: [v2] i2c: mediatek: Move suspend and resume handling to NOIRQ phase From: Qii Wang To: Grygorii Strashko CC: Wolfram Sang , , , , , , , Date: Mon, 7 Dec 2020 15:33:51 +0800 In-Reply-To: <629d171a-0e77-3d74-ae23-e6439dcf17b7@ti.com> References: <1605701861-30800-1-git-send-email-qii.wang@mediatek.com> <20201202153543.GG874@kunai> <1606958735.25719.29.camel@mhfsdcap03> <629d171a-0e77-3d74-ae23-e6439dcf17b7@ti.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 822D965A52E0536F39BE37E6EB109DFF6F0F10236684C611F6E4658D684AAC652000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGk6DQpUaGFuayB5b3UgdmVyeSBtdWNoIGZvciB5b3VyIHBhdGllbmNlIHJldmlldy4NClRoZXJl IGFyZSB0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