[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YK/9wMhoACc0beN/@kunai>
Date: Thu, 27 May 2021 22:14:56 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: qii.wang@...iatek.com
Cc: matthias.bgg@...il.com, linux-i2c@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-mediatek@...ts.infradead.org, srv_heupstream@...iatek.com,
leilk.liu@...iatek.com
Subject: Re: [PATCH] i2c: mediatek: Disable i2c start_en and clear intr_stat
brfore reset
On Thu, May 27, 2021 at 08:04:04PM +0800, qii.wang@...iatek.com wrote:
> From: Qii Wang <qii.wang@...iatek.com>
>
> The i2c controller driver do dma reset after transfer timeout,
> but sometimes dma reset will trigger an unexpected DMA_ERR irq.
> It will cause the i2c controller to continuously send interrupts
> to the system and cause soft lock-up. So we need to disable i2c
> start_en and clear intr_stat to stop i2c controller before dma
> reset when transfer timeout.
>
> Signed-off-by: Qii Wang <qii.wang@...iatek.com>
Is there a suitable Fixes tag for this?
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists