Commit 3d075c4
drivers: i2c: i2c_dw: make target stop callback after read/write callbacks
In target mode, issue the stop callback from the I2C DW driver after the
read/write callbacks. This mirrors the behavior of other I2C target mode
drivers, and allows target handler code to correctly service any pending
read or write requests before it handles the stop condition.
Fixes #98675
Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>1 parent af7ae5d commit 3d075c4
1 file changed
+9
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
610 | 619 | | |
611 | 620 | | |
612 | 621 | | |
| |||
1157 | 1166 | | |
1158 | 1167 | | |
1159 | 1168 | | |
1160 | | - | |
1161 | | - | |
1162 | 1169 | | |
1163 | 1170 | | |
1164 | 1171 | | |
| |||
1191 | 1198 | | |
1192 | 1199 | | |
1193 | 1200 | | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | | - | |
1201 | | - | |
1202 | | - | |
1203 | 1201 | | |
1204 | 1202 | | |
1205 | 1203 | | |
| |||
0 commit comments