common/i2c: for PEC finish i2c write transaction before the execution of a callback
Without PEC the i2c write transaction is finished before the execution of a callback.
Make the same behavior when the PEC is used.
Triggering a reset over i2c returns write failure if the transaction is not finished.
Signed-off-by: Adam Wujek <dev_public@wujek.eu>
Showing
Please
register
or
sign in
to comment