diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2018-03-08 17:52:08 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-03-08 17:52:08 +0300 |
commit | 422caa5f7a455920369039d04c6070eb50d6146b (patch) | |
tree | 8667d9587c412ee25660184f6e943ed10e445bc0 /drivers/regulator/stm32-vrefbuf.c | |
parent | 8a331f4a0863bea758561c921b94b4d28f7c4029 (diff) | |
parent | b3b7c4795ccab5be71f080774c45bbbcc75c2aaf (diff) | |
download | linux-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.c | 2 |
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); |