commit | d50e7a71cb5f8ecfbe2eb69c163d532bab82cbf0 | [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 | e752fa4a4c01ad9a0196033a524b3da7c9697b1b [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>