summaryrefslogtreecommitdiff
path: root/drivers/regulator/stm32-vrefbuf.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-03-08 17:52:08 +0300
committerThomas Gleixner <tglx@linutronix.de>2018-03-08 17:52:08 +0300
commit422caa5f7a455920369039d04c6070eb50d6146b (patch)
tree8667d9587c412ee25660184f6e943ed10e445bc0 /drivers/regulator/stm32-vrefbuf.c
parent8a331f4a0863bea758561c921b94b4d28f7c4029 (diff)
parentb3b7c4795ccab5be71f080774c45bbbcc75c2aaf (diff)
downloadlinux-422caa5f7a455920369039d04c6070eb50d6146b.tar.xz
Merge branch 'ras/urgent' into ras/core
Pick up urgent fixes to apply further development changes.
Diffstat (limited to 'drivers/regulator/stm32-vrefbuf.c')
-rw-r--r--drivers/regulator/stm32-vrefbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/stm32-vrefbuf.c b/drivers/regulator/stm32-vrefbuf.c
index 72c8b3e1022b..e0a9c445ed67 100644
--- a/drivers/regulator/stm32-vrefbuf.c
+++ b/drivers/regulator/stm32-vrefbuf.c
@@ -51,7 +51,7 @@ static int stm32_vrefbuf_enable(struct regulator_dev *rdev)
* arbitrary timeout.
*/
ret = readl_poll_timeout(priv->base + STM32_VREFBUF_CSR, val,
- !(val & STM32_VRR), 650, 10000);
+ val & STM32_VRR, 650, 10000);
if (ret) {
dev_err(&rdev->dev, "stm32 vrefbuf timed out!\n");
val = readl_relaxed(priv->base + STM32_VREFBUF_CSR);