On Mon, Jan 30, 2023 at 04:32:47PM +0100, Alexander Stein wrote: > When reading from I2C, the Tx watermark is set to 0. Unfortunately the > TDF (transmit data flag) is enabled when Tx FIFO entries is equal or less > than watermark. So it is set in every case, hence the reset default of 1. > This results in the MSR_RDF _and_ MSR_TDF flags to be set thus trying > to send Tx data on a read message. > Mask the IRQ status to filter for wanted flags only. > > Fixes: a55fa9d0e42e ("i2c: imx-lpi2c: add low power i2c bus driver") > Signed-off-by: Alexander Stein Applied to for-current, thanks!