# Re: \[PATCH v5 30/46\] regulator: pwm: retrieve correct voltage

- From: Mark Brown \<broonie@kernel.org\>
- Date: 2016-03-30 21:25:31 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2016/03/4718766
- Thread: https://ratatoskr.run/linux-pwm/2016/03/4718740/t.md

```text
On Wed, Mar 30, 2016 at 10:03:53PM +0200, Boris Brezillon wrote:
> The continuous PWM voltage regulator is caching the voltage value in
> the ->volt_uV field. While most of the time this value should reflect the
> real voltage, sometime it can be sightly different if the PWM device
> rounded the set_duty_cycle request.
> Moreover, this value is not valid until someone has modified the regulator
> output.

Acked-by: Mark Brown <broonie@kernel.org>
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2016/03/4718766/attachment/0) (application/pgp-signature, 473 bytes)
