commit | cc4191666bdbf434e4b0047715fa7d7e0a55d353 | [log] [tgz] |
---|---|---|
author | Daniel Wagenknecht <wagenknecht@clage.de> | Mon Feb 26 12:30:37 2018 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Jul 04 11:57:33 2018 +0200 |
tree | 570df164c7f1f75b83193ffe104dd5c701508ac7 | |
parent | 5aa09c6baab8f65052c58221555e483993b547cb [diff] |
i2c: stm32: check messages before starting transmission In preparation to implementing slave and multi-master capabilities for STM32 I2C V2 driver move the checks, whether all messages of a transfer are valid, before starting the transaction. This prevents having to abort a transmission, that is already partly transmitted. Signed-off-by: Daniel Wagenknecht <wagenknecht@clage.de>