commit | ce07d834a5d08fd28ad52b61023f6b4a3da2f9c7 | [log] [tgz] |
---|---|---|
author | Attie Grande <attie.grande@argentum-systems.co.uk> | Sat Jan 15 01:08:59 2022 +0000 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Jan 18 10:28:31 2022 -0500 |
tree | edf6da4c2c145f98e2c2f5c20cfa859f0b83f0cf | |
parent | aed55b6cb9f784adaa3d505911ac49b406e0f635 [diff] |
drivers: i2c: sam0: Return the bus to idle when a transaction fails If a transaction fails, the bus was not being returned to idle. This increases power consumption, and can cause the following transaction to be misinterpreted. By issuing a STOP command on error, we can ensure that the bus returns to idle correctly. Signed-off-by: Attie Grande <attie.grande@argentum-systems.co.uk>