Skip to content
Commit d50e7a71 authored by Yann Gautier's avatar Yann Gautier
Browse files

fix(st-sdmmc2): check regulator enable/disable return

The issue was reported by Coverity [1]. The return of the functions
regulator_disable() and regulator_enable() was not checked.
If they fail, this means there is an issue either with PMIC or I2C.
The board should the stop booting with a panic().

[1] https://scan4.scan.coverity.com/reports.htm#v47771/p11439/mergedDefectId=374565



Change-Id: If5dfd5643c210e03ae4b1f4cab0168c0db89f60e
Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
parent e752fa4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment