summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/stm32-vrefbuf.c
Commit message (Collapse)AuthorAgeFilesLines
* regulator: stm32-vrefbuf: fix check on ready flagFabrice Gasnier2018-02-081-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
* regulator: Add support for stm32-vrefbufFabrice Gasnier2017-08-301-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>
OpenPOWER on IntegriCloud