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

- From: Mark Brown \<broonie@kernel.org\>
- Date: 2016-03-30 21:25:31 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160330/044e6353/attachment.sig>
```
