Skip to content
Commit cc419166 authored by Daniel Wagenknecht's avatar Daniel Wagenknecht Committed by Carles Cufí
Browse files

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: default avatarDaniel Wagenknecht <wagenknecht@clage.de>
parent 5aa09c6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment