commit | 68899ceb22fc7fc83b0e36fb377291f3d55bcdc3 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Tue Jan 04 15:25:04 2022 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Tue Jan 04 15:25:04 2022 +0100 |
tree | 15840ae329073d890c95786c7cc17e23dbdc7953 | |
parent | ef7ca7dff773444e3e0fbac2d753e70192f05e11 [diff] |
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: Yann Gautier <yann.gautier@st.com>