Re: [PATCH v6 3/7] i2c: mediatek: Dump i2c/dma register when a timeout occurs

From: Qii Wang
Date: Wed Sep 01 2021 - 05:31:51 EST


On Sat, 2021-08-28 at 18:50 +0800, Kewei Xu wrote:
> When a timeout error occurs in i2c transter, it is usually related
> to the i2c/dma IP hardware configuration. Therefore, the purpose of
> this patch is to dump the key register values of i2c/dma when a
> timeout occurs in i2c for debugging.
>
> Signed-off-by: Kewei Xu <kewei.xu@xxxxxxxxxxxx>
> ---
> drivers/i2c/busses/i2c-mt65xx.c | 56 ++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 55 insertions(+), 1 deletion(-)
>

Reviewed-by: Qii Wang <qii.wang@xxxxxxxxxxxx>