Skip to content
Commit dce95804 authored by Erwin Rol's avatar Erwin Rol Committed by Maureen Helm
Browse files

drivers: i2c_ll_stm32_v1: Reset i2c device on read/write error



Reset the i2c device when read or write return with an error
code. This is to bring the i2c hardware back into a known
state after a hardware error (like EMC spikes) caused
the device to lock up.

Signed-off-by: default avatarErwin Rol <erwin@erwinrol.com>
parent 9ac8dcf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment