Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1370736

Re: [PATCH] regulator: pwm: Try to avoid voltage error in duty cycle calculation

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] regulator: pwm: Try to avoid voltage error in duty cycle calculation
Date 2016-04-04 18:30 +0200
Message-ID <rkfy2-5Pj-1@gated-at.bofh.it> (permalink)
References <rj0KK-nf-1@gated-at.bofh.it> <rj145-vD-7@gated-at.bofh.it> <rjx3Y-6F2-7@gated-at.bofh.it> <rjOeu-2w5-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, Apr 03, 2016 at 04:37:18PM +0530, Laxman Dewangan wrote:
> On Saturday 02 April 2016 10:23 PM, Mark Brown wrote:

> >Yes, you're doing a 64 bit divide so that's kind of expected...

> Is there any way to resolve this issue?

You need to reorganize the maths so you're not doing a 64 bit divide
operation or use do_div().

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH] regulator: pwm: Try to avoid voltage error in duty cycle  calculation Laxman Dewangan <ldewangan@nvidia.com> - 2016-04-03 13:20 +0200
  Re: [PATCH] regulator: pwm: Try to avoid voltage error in duty cycle  calculation Mark Brown <broonie@kernel.org> - 2016-04-04 18:30 +0200

csiph-web