i2c: stm32f7: perform I2C_ISR read once at beginning of event isr
authorAlain Volmat <alain.volmat@foss.st.com>
Fri, 15 Dec 2023 17:06:09 +0000 (18:06 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 18 Jan 2024 20:10:44 +0000 (21:10 +0100)
commita058b24c08023ea0ea0a7c38e6845f1d25139a22
tree3056e3b4a8f2017133303be886975c8c076884f1
parentbf12998e1a68a82d596ea33b00b3ebc75ce52bb5
i2c: stm32f7: perform I2C_ISR read once at beginning of event isr

Move readl_relaxed of I2C_ISR register at beginning of event isr
so that it done once for both master & slave handling.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-stm32f7.c