i2c: stm32f7_i2c: fix data abort
As "v" is a local variable in stm32_i2c_choose_solution() "v" has to be copied into "s" to avoid data abort in stm32_i2c_compute_timing(). Signed-off-by: NChristophe Kerello <christophe.kerello@st.com> Reviewed-by: NPatrick DELAUNAY <patrick.delaunay@st.com> Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
Showing
想要评论请 注册 或 登录