Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2097138pxb; Fri, 8 Oct 2021 00:15:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSGol+hSUUuq4CygtEMfvkBkgW8IzF5sWKpfyPzjRwvg8k41q3kBVpGQONwv57GiLdYdbb X-Received: by 2002:a17:90b:4c86:: with SMTP id my6mr9967610pjb.77.1633677332933; Fri, 08 Oct 2021 00:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633677332; cv=none; d=google.com; s=arc-20160816; b=TErFMSDGNHSUqiuWMxK02rCombWyDyU63PFJYXOPKZlqFVZD1drx4SUvX6Df+SbmhZ GauxHiW2K8zhEu0q9xudpHGvLL6OF0/LAKddwutKDv3vUL9gd0ZJ6xDXXznbGHkDMDMp bvGmIXrUg6FuIxCNw5qoaCr8XEvnbOAmHZIfyPys6/6OMjc7wjCeggGacwFeO5DCMKXW IEx/biaMRS6hr9f62WTHh0OmBEkpJyZOOxFkmAV1luVlarMPuM7yXZS/zckJNFOsIz5M oLXs0HCxlUZPyC7guTAFcebUOhUN8FZAE0pS+p09NSoWmtArViHnwZNBV1PC0KIsmuBC 0Q+g== 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=qWjr+AiJvYo10hf1cS6L6W6bO/DtrFRJjsgwpRlO+3k=; b=OFXqMwxbCjEq5npnkk5x9tf/EfjVWXsshX+EwglUtLvYmJ8ywa09MyLZm9k8InOQTS 3zlgpVwc7fGUCVHJCnkZNjtLRtFUVr594y6Zs6QKyRXZ9vOKlh3AwD0pg50Ch+umEJpx lc0HqMdAeyO7v02rF/b7RVz3rAs1j3o9tql8rwHj6rgpMK5rHj8Nm8tHV8XOCDA/d5uw 2/nHXCx+M7zpwMLxUFZzLRN7ZIr9kOFAhvOKD/cVOJY+2ZpEtMRxdvhe3mUYOxo1AYIW vYMICuLTvOlicBRMtL6ICzpAmBb2oAzqELSV+caZooYTZyRDo5q9Bg+pqXCDdLeaVwnY PNPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=rjLsj8+2; 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 t64si2167639pgd.368.2021.10.08.00.15.18; Fri, 08 Oct 2021 00:15:32 -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=rjLsj8+2; 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 S232093AbhJHHPS (ORCPT + 99 others); Fri, 8 Oct 2021 03:15:18 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:35830 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229693AbhJHHPR (ORCPT ); Fri, 8 Oct 2021 03:15:17 -0400 X-UUID: 82172bf867174dd08af19ca7eea86e21-20211008 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=qWjr+AiJvYo10hf1cS6L6W6bO/DtrFRJjsgwpRlO+3k=; b=rjLsj8+2NCkKY6qFoWiVjATBm9mrR/P/OnNoYMfPcJgOrPC+nkFCCJnFsCrKByACRiiG64Zahm9qw1AkGPl/6+H5LiXBfoC/xaYUXscmxXInOrLtTkvovnFGdzR+kCOhfLxr5PdQPeojBqE4JrRyQWNFvqlW2VdolCN6AqqOSgU=; X-UUID: 82172bf867174dd08af19ca7eea86e21-20211008 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 440280912; Fri, 08 Oct 2021 15:13:20 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Fri, 8 Oct 2021 15:13:19 +0800 Received: from mhfsdcap04 (10.17.3.154) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 8 Oct 2021 15:13:18 +0800 Message-ID: <461ed34baaf49acda8a3287635f0b4670240cd35.camel@mediatek.com> Subject: Re: [PATCH v7 3/7] i2c: mediatek: Dump i2c/dma register when a timeout occurs From: Kewei Xu To: Wolfram Sang CC: , , , , , , , , , , , , , Date: Fri, 8 Oct 2021 15:13:21 +0800 In-Reply-To: References: <20210917101416.20760-1-kewei.xu@mediatek.com> <20210917101416.20760-4-kewei.xu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU2F0LCAyMDIxLTEwLTAyIGF0IDA4OjM3ICswMjAwLCBXb2xmcmFtIFNhbmcgd3JvdGU6DQo+ ID4gQEAgLTgzNyw2ICs4MzksNTcgQEAgc3RhdGljIGludCBtdGtfaTJjX3NldF9zcGVlZChzdHJ1 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