RE: [BUG] ls1046a: eDMA does not transfer data from I2C

Leo Li
2022-09-19T22:40:58Z

> -----Original Message-----
> From: Sean Anderson <sean.anderson@seco.com>
> Sent: Monday, September 19, 2022 5:24 PM
> To: Oleksij Rempel <linux@rempel-privat.de>; Pengutronix Kernel Team
> <kernel@pengutronix.de>; linux-i2c@vger.kernel.org; linux-arm-kernel
> <linux-arm-kernel@lists.infradead.org>; Vinod Koul <vkoul@kernel.org>;
> dmaengine@vger.kernel.org
> Cc: Sumit Semwal <sumit.semwal@linaro.org>; Christian König
> <christian.koenig@amd.com>; Linux Kernel Mailing List <linux-
> kernel@vger.kernel.org>; linux-media@vger.kernel.org; dri-
> devel@lists.freedesktop.org; linaro-mm-sig@lists.linaro.org; Joy Zou
> <joy.zou@nxp.com>; Peng Ma <peng.ma@nxp.com>; Robin Gong
> <yibin.gong@nxp.com>; Shawn Guo <shawnguo@kernel.org>; Leo Li
> <leoyang.li@nxp.com>
> Subject: [BUG] ls1046a: eDMA does not transfer data from I2C
>
> Hi all,
>
> I discovered a bug in either imx_i2c or fsl-edma on the LS1046A where no
> data is read in i2c_imx_dma_read except for the last two bytes (which are
> not read using DMA). This is perhaps best illustrated with the following
> example:

What is the kernel tree/tag that you are testing with?

Regards,
Leo