Re: [PATCH 04/14] aspeed: i2c: Fix DMA len write-enable bit handling

2022-06-28 Thread Peter Delevoryas
> On Jun 28, 2022, at 12:01 AM, Cédric Le Goater wrote: > > On 6/27/22 21:54, Peter Delevoryas wrote: >> I noticed i2c rx transfers were getting shortened to "1" on Zephyr. It >> seems to be because the Zephyr i2c driver sets the RX DMA len with the >> RX field write-enable bit set (bit 31) to

Re: [PATCH 04/14] aspeed: i2c: Fix DMA len write-enable bit handling

2022-06-28 Thread Cédric Le Goater
On 6/27/22 21:54, Peter Delevoryas wrote: I noticed i2c rx transfers were getting shortened to "1" on Zephyr. It seems to be because the Zephyr i2c driver sets the RX DMA len with the RX field write-enable bit set (bit 31) to avoid a read-modify-write. [1] /* 0x1C : I2CM Master DMA Transfer Leng