[RESEND 08/10] regulator: pwm-regulator: Add support for continuous-voltage
Mark Brown
broonie at kernel.org
Tue Jul 7 06:31:55 PDT 2015
On Mon, Jul 06, 2015 at 09:58:30AM +0100, Lee Jones wrote:
> + tmp = max_duty_cycle - min_mV * max_duty_cycle / vdiff;
> + pwm_code = tmp + max_duty_cycle * volt_mV / vdiff;
These need some brackets to be clear that they're correct.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150707/a928d034/attachment.sig>
More information about the linux-arm-kernel
mailing list