Changeset 0074c9ec in rtems

Timestamp:
02/03/22 08:38:40 (2 years ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
master
Children:
cff16379
Parents:
974d24f8
git-author:
Christian Mauderer <christian.mauderer@…> (02/03/22 08:38:40)
git-committer:
Christian Mauderer <christian.mauderer@…> (02/10/22 08:08:03)
Message:

bsp/atsam/i2c: Add error return and fix edge cases

The driver didn't return with an error on (for example) a NACK on the
bus. This adds the expected error return. Due to the new case that a
transfer can be interrupted on an error, there were some new edge cases.
This patch therefore also fixes these edge cases by removing the
transfer_state that more or less duplicated the interrupt states.

Fixes #4592

(No files)

Note: See TracChangeset for help on using the changeset viewer.