diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2018-02-08 14:43:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-08 15:28:35 +0000 |
commit | f63248fac563125fd5a2f0bc780ce7a299872cab (patch) | |
tree | 643b6f79a87cd04f09ed034e092bd746f10a0105 /COPYING | |
parent | 4e79f3f1c832fc9eabf5435d73ba0279e58f9b9d (diff) |
regulator: stm32-vrefbuf: fix check on ready flag
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
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions