fix(drivers/st/pmic): initialize i2c_state
Make sure that i2c->i2c_state is correctly initialized with I2C_STATE_RESET value this avoid hi2c->lock to not be set to 0 when calling stm32_i2c_init during platform suspend/resume operations. Change-Id: I3b4c1f9115589325eb256789a1764c322741db7d Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
Please register or sign in to comment