From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60589C433E0 for ; Mon, 11 Jan 2021 20:19:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 19A0C222B3 for ; Mon, 11 Jan 2021 20:19:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390481AbhAKUTG (ORCPT ); Mon, 11 Jan 2021 15:19:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390827AbhAKUS7 (ORCPT ); Mon, 11 Jan 2021 15:18:59 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BADAC061795 for ; Mon, 11 Jan 2021 12:18:19 -0800 (PST) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kz3dh-0006uY-2H; Mon, 11 Jan 2021 21:18:09 +0100 Received: from ukl by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1kz3dg-0001on-Lr; Mon, 11 Jan 2021 21:18:08 +0100 Date: Mon, 11 Jan 2021 21:18:08 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Baruch Siach Cc: Thierry Reding , Lee Jones , Linus Walleij , Bartosz Golaszewski , Andrew Lunn , Gregory Clement , Russell King , Sebastian Hesselbarth , Thomas Petazzoni , Chris Packham , Sascha Hauer , Ralph Sennhauser , linux-pwm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/5] gpio: mvebu: improve pwm period calculation accuracy Message-ID: <20210111201808.ojtp3bkaq2iadl52@pengutronix.de> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qaufrotskcb37mg2" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-pwm@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pwm@vger.kernel.org --qaufrotskcb37mg2 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 11, 2021 at 01:17:03PM +0200, Baruch Siach wrote: > Divide the full period value to reduce rounding error. >=20 > Reported-by: Uwe Kleine-K=F6nig > Signed-off-by: Baruch Siach Reviewed-by: Uwe Kleine-K=F6nig Thanks Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --qaufrotskcb37mg2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl/8sn0ACgkQwfwUeK3K 7Al0bwf/WsHsOt+n2Y619kakJZYtcOPBKD2oyQSMTiGuNmzdbhLl7PjDO64iaKnW f0q26oPFC5T8eWSGeSnUBe/pBq+EhYjhQwN8o1zawF0sDdE9fVkMr4hGg7I5xSuq wNjOmWHCshMrx0YcRmJJH4peuBVQWarG4wPayK37+wmIEmdE3LZcxgJBB01cJBDg gwN+VxFhcc2EJyX2iIdziqzxYfXQSr/rtLpgzRWo4Dj2dGidpiIrba0s96m/TKA+ PxihnVgGCRGmZmjkhGbh1kn/XUwZzbh2V3qQ1+zpKVIhwFj3eKPs99qHgmzVdyj2 0N3NWaC1k7Qsq6toLUbwHtxQkbGaTQ== =3RXC -----END PGP SIGNATURE----- --qaufrotskcb37mg2--