From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932449AbcDDQ0G (ORCPT ); Mon, 4 Apr 2016 12:26:06 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:42934 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754255AbcDDQ0E (ORCPT ); Mon, 4 Apr 2016 12:26:04 -0400 Date: Mon, 4 Apr 2016 09:25:49 -0700 From: Mark Brown To: Laxman Dewangan Cc: kbuild test robot , kbuild-all@01.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Lee Jones Message-ID: <20160404162549.GJ2350@sirena.org.uk> References: <201604011425.40GkbuYp%fengguang.wu@intel.com> <56FE15F3.3060805@nvidia.com> <20160402165311.GF2350@sirena.org.uk> <5700F966.4000802@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kJQbLzJV/QPBkXzU" Content-Disposition: inline In-Reply-To: <5700F966.4000802@nvidia.com> X-Cookie: If anything can go wrong, it will. User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 209.65.105.100 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH] regulator: pwm: Try to avoid voltage error in duty cycle calculation X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --kJQbLzJV/QPBkXzU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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(). --kJQbLzJV/QPBkXzU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXApWBAAoJECTWi3JdVIfQz2YH/2MzhzqgykGYtpxPpjghIm09 3Oks2cj79zpsEoluzwK+facNkVP/93dQkmrLndQNysfLqqTGXjuAbSURQExc03QK Lt1CDdKSyyfqAbsyDoz1WvIwgpWnotMvEIEICur6UuvftdB1lWDDlZYmRlACGlPH MmsZCXPvFQKMXG9dZF+tgiIthJMw0MUURMOqKJ5oTalmwh+uIa/NMRuTBpD/3ojB A4qntAV/EwfEOoT4sAytouhYpPEF43NqztZcQH0vgqt6wzNgjl29gdxMBcQJqH3Y Ddr4QaxIA62jdu3eA2GFq4Edv++g6lCs03VXVpJkUv0zgRy1zyTanz/hR3JoFcM= =4XiB -----END PGP SIGNATURE----- --kJQbLzJV/QPBkXzU--