Skip to content
Commit 5237f37e authored by Nicolas Le Bayon's avatar Nicolas Le Bayon Committed by Patrice Chotard
Browse files

i2c: stm32f7: improve loopback in timing algorithm



This avoids useless loops inside the I2C timing algorithm.
Actually, we support only one possible solution per prescaler value.
So after finding a solution with a prescaler, the algorithm can
switch directly to the next prescaler value.

Signed-off-by: default avatarNicolas Le Bayon <nicolas.le.bayon@st.com>
Reviewed-by: default avatarPatrick DELAUNAY <patrick.delaunay@st.com>
Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent e87da752
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment