[PATCH v4 1/2] i2c: aspeed: Handle the coalesced stop conditions with the start conditions.
Wolfram Sang
wsa at kernel.org
Wed Dec 20 07:55:58 AEDT 2023
On Mon, Dec 11, 2023 at 05:22:16PM +0700, Quan Nguyen wrote:
> Some masters may drive the transfers with low enough latency between
> the nak/stop phase of the current command and the start/address phase
> of the following command that the interrupts are coalesced by the
> time we process them.
> Handle the stop conditions before processing SLAVE_MATCH to fix the
> complaints that sometimes occur below.
>
> "aspeed-i2c-bus 1e78a040.i2c-bus: irq handled != irq. Expected
> 0x00000086, but was 0x00000084"
>
> Fixes: f9eb91350bb2 ("i2c: aspeed: added slave support for Aspeed I2C driver")
> Signed-off-by: Quan Nguyen <quan at os.amperecomputing.com>
> Reviewed-by: Andrew Jeffery <andrew at codeconstruct.com.au>
> Reviewed-by: Andi Shyti <andi.shyti at kernel.org>
Applied to for-current, thanks!
I'll wait with patch 2. It seems there are issues to be solved before.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20231219/acfacb3b/attachment.sig>
More information about the Linux-aspeed
mailing list