summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/stm32-vrefbuf.c
AgeCommit message (Collapse)AuthorFilesLines
2018-02-08regulator: stm32-vrefbuf: fix check on ready flagFabrice Gasnier1-1/+1
stm32_vrefbuf_enable() wrongly checks VRR bit: 0 stands for not ready, 1 for ready. It currently checks the opposite. This makes enable routine to exit immediately without waiting for ready flag. Fixes: 0cdbf481e927 ("regulator: Add support for stm32-vrefbuf") Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
2017-08-30regulator: Add support for stm32-vrefbufFabrice Gasnier1-0/+202
Add regulator driver for STM32 voltage reference buffer which can be used as voltage reference for ADCs, DACs and external components through dedicated VREF+ pin. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>