Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1208813pxx; Fri, 30 Oct 2020 05:00:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8LxnvtkmUUdpUNMuNvfvmW1V2QKTgXODWtSYH9rTX5q2dU+mmHnXr5oPQ7n1LshUmzDJO X-Received: by 2002:a17:906:1a57:: with SMTP id j23mr2124150ejf.291.1604059228592; Fri, 30 Oct 2020 05:00:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604059228; cv=none; d=google.com; s=arc-20160816; b=VozrxoW9RzLPoe8BxRZaVyEYErKea6HSJLk2E6gpKbacltkKGO2WeeOUhbY2f/m52R AArM003NhqH8RP8KVFGu2rBdXSySmTIwEoBbA17kD8BJNP/Z7qwuTb3UCSqxv0jxa0b6 7lQQ7QlnkRbpz4eG80UXAgs+FWOn8egjFDJN46d8s1oY3wD8QM6x2ICnWWJGY2wGgxi/ K6He3MqEXbjV7b0HC8KZL8KSp/n7vCEP1GYpNRlApsp9ZUlkOyYpUTWaVed3tznfa7Ku LkALELNWnS1kxWDcj4wMMeJVfy7P4zm+qVG1fvP+eojcqzKCfw6fYcDaIykp8XJyVV5g LYJA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ToIiaIPerS3D72ArokmIM6oaTzcfLiLc3SIQSu5S6cI=; b=Jk4V2AXSe/R+dAM4m/aA0FLYsd3MSEE2rNcip9NDdf/tzYPEHyPL3enImL7eIm3ZIc gzBbXMjZIsQF/x8P77CqwHavbaF0oMimMlbVVIBrn+pkqUiqxHA3IsuzuksSIcp1vGXo Sx0ICgq27FufqJNuR+NJZhO2af6JJ9tSCquu0qj26usFldBEmfxwaml31Xdk4tYOi09d /p9ytbYXrWZpQ94h3TBPR9Zz62qYXqmQoojyDqvRp5djgpVE2K6ApTTXJzYVnvzcXGNw a7gJ+T+ElN8PB4ob+d73Hnsg7Sqv/H6FrDgIaYjyHYSMwQjWDV7X/ZyIRSohV2f3t03g 5uqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="ucDTi/88"; 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 dr5si3551000ejc.423.2020.10.30.05.00.03; Fri, 30 Oct 2020 05:00: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="ucDTi/88"; 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 S1726259AbgJ3L6O (ORCPT + 99 others); Fri, 30 Oct 2020 07:58:14 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:51851 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725355AbgJ3L6O (ORCPT ); Fri, 30 Oct 2020 07:58:14 -0400 X-UUID: 72551d5e58d0428b9b041b74830659a2-20201030 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=ToIiaIPerS3D72ArokmIM6oaTzcfLiLc3SIQSu5S6cI=; b=ucDTi/88lvtdsPWqQALsPDdX8fIAkj6w6GaxWkXpDsH97iAONDYKS/cNEdIEUsf/Mo0sAlf869odvsCc6u6tawE89URCU+1nKHFPVoCk9JTyVQ+rAW4N97DsNUfxN5DbqSMg0ZYREVU0T80vu4fe0SmeNQ5NaVXpyzbeJ1sUnwg=; X-UUID: 72551d5e58d0428b9b041b74830659a2-20201030 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1754038679; Fri, 30 Oct 2020 19:58:08 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 30 Oct 2020 19:58:06 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 30 Oct 2020 19:58:05 +0800 From: To: CC: , , , , , , , Subject: [PATCH] i2c: mediatek: move dma reset before i2c reset Date: Fri, 30 Oct 2020 19:58:01 +0800 Message-ID: <1604059081-28197-1-git-send-email-qii.wang@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogUWlpIFdhbmcgPHFpaS53YW5nQG1lZGlhdGVrLmNvbT4NCg0KVGhlIGkyYyBkcml2ZXIg ZGVmYXVsdCBkbyBkbWEgcmVzZXQgYWZ0ZXIgaTJjIHJlc2V0LCBidXQgc29tZXRpbWVzDQppMmMg cmVzZXQgd2lsbCB0cmlnZ2VyIGRtYSB0eDJyeCwgdGhlbiBhcGRtYSB3cml0ZSBkYXRhIHRvIGRy YW0NCndoaWNoIGhhcyBiZWVuIGkyY19wdXRfZG1hX3NhZmVfbXNnX2J1ZihrZnJlZSkuIE1vdmUg ZG1hIHJlc2V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