commit | c41d307468b236aa3e43538bfa5a732af4868b1b | [log] [tgz] |
---|---|---|
author | Nicolas Le Bayon <nicolas.le.bayon@st.com> | Thu Apr 18 17:32:43 2019 +0200 |
committer | Patrice Chotard <patrice.chotard@st.com> | Thu May 23 11:36:47 2019 +0200 |
tree | 3a1dcc7efd69321a818bfedec9c351fa2924e084 | |
parent | 2acf1ba281d0336dd37283f5caee98fe2d95bcd7 [diff] |
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: Nicolas Le Bayon <nicolas.le.bayon@st.com> Reviewed-by: Patrick DELAUNAY <patrick.delaunay@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>