From: Esben Haabendal <eha@xxxxxxxx> This patch series fixes two race conditions and minor issues with tracking the stopped state when something goes wrong. With that in place, DMA support works with NXP LS1021A, so it is enabled in the last patch. Changes in v4: * Added condition checking by use of common use_dma variable in patch 1/3 * Added Acked-by for patches 1/3 and 2/3 * Rebased to v4.18 Changes in v3: * Rebased to v4.18-rc8, dropping patch 1/4 which have been merged * Avoid unnecessary register write in patch 2/3 * Removed unneeded braces in patch 3/3 Changes in v2: * Fixed speling mistake in commit message * Rebased to v4.18-rc4 Esben Haabendal (3): i2c: imx: Fix race condition in dma read i2c: imx: Simplify stopped state tracking arm: dts: ls1021a: Enable I2C DMA support arch/arm/boot/dts/ls1021a.dtsi | 6 ++++++ drivers/i2c/busses/i2c-imx.c | 23 +++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) -- 2.18.0