Commit a058b24
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>1 parent bf12998 commit a058b24
1 file changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1419 | 1419 | | |
1420 | 1420 | | |
1421 | 1421 | | |
1422 | | - | |
| 1422 | + | |
1423 | 1423 | | |
1424 | 1424 | | |
1425 | | - | |
| 1425 | + | |
1426 | 1426 | | |
1427 | 1427 | | |
1428 | 1428 | | |
1429 | | - | |
1430 | | - | |
1431 | 1429 | | |
1432 | 1430 | | |
1433 | 1431 | | |
| |||
1531 | 1529 | | |
1532 | 1530 | | |
1533 | 1531 | | |
1534 | | - | |
1535 | | - | |
1536 | | - | |
1537 | 1532 | | |
1538 | 1533 | | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
1539 | 1537 | | |
1540 | 1538 | | |
1541 | 1539 | | |
| |||
0 commit comments