Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp909212imu; Wed, 28 Nov 2018 01:18:20 -0800 (PST) X-Google-Smtp-Source: AJdET5cc1YfyU2q7b1ivMiM+1SgV7DM4f1HrPleXB5XpSYQ+CXJuk1RzOE+M3YDeT7UduUjjHyTN X-Received: by 2002:a62:184e:: with SMTP id 75mr35969507pfy.28.1543396700055; Wed, 28 Nov 2018 01:18:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543396700; cv=none; d=google.com; s=arc-20160816; b=lDVeQiKCdJWSkHc3vGZfA80Pq317CysUSRL6gLZ913usNNI/OhXxVOFMY8c2tKD9W4 S25mOhhW8AgDfywBNnZQf66gFBULcdsaVpvXaufXBorkYLv+aruwBzk+I3v8Rp0i3yy9 es40LVE8qnWPlp/hzSIaEAnNLq5j/WoxDR4RSMMT0NE+/Vv3AEt2ecXVC+hE/7J7fLYR 37T50HdDEhOZs89DP+w+mFR93e/Y2v0ibesWATViviuZrC26Frxxhs5jLAViSwIoU6qV moMGvKyAYsQfatkXGBeio5Qicz3j41SpH6pI/9ihPVujopRzVUj4m9rID1yINKK9pjF6 W7lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sTZWo8vDJpS8bhCf3AaS91rmTJ+wCscCrVtNvIoVmYA=; b=OpC8IFCMEUpkF2aNNXKJg4acz5KV2HmLA0D+teUPSN3xzJfdLogX/NzHPBJzFSANVC ChOWQxqTx3/mIN9o2OB3Hj83vUpF81QSLZvmyE+z9mj8Jg5mH2PzeZ336TZ6RACHg9Iy h5wXQuIF3OggGpLzgTNkTVKDDws/lHpw8ONM3k3Fvz8mOseHiWm7wnkufKhGyZokz9gF fl5cua7JmQLoAU5H4Oc+ciwl+cC4GBTusiWbwkn3cYEpCDdUhIiUig1mu6NMlL5lAyFW I/SNf1ZJ1nrz9i8aRP0sDWqQnTiBPhyapq7XtcFCPqf0asYP1xvm2VSGqPTvTnFBftbV A6PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qKSgs+bX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e8si6788369pfc.248.2018.11.28.01.18.05; Wed, 28 Nov 2018 01:18:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qKSgs+bX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728026AbeK1URm (ORCPT + 99 others); Wed, 28 Nov 2018 15:17:42 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:41638 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727341AbeK1URm (ORCPT ); Wed, 28 Nov 2018 15:17:42 -0500 Received: by mail-ed1-f65.google.com with SMTP id z28so21439728edi.8; Wed, 28 Nov 2018 01:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=sTZWo8vDJpS8bhCf3AaS91rmTJ+wCscCrVtNvIoVmYA=; b=qKSgs+bXFQMp+lDonwb6C+IlnN5LTnFZrk1peXkjP3boJ72+8fu72IZqGsQeMEaMo1 EXIcueanalZYEYhdm90pfqgyudLnXOgdMvmon+uz6yDmXen8McYrkheKOlcVnyIDYG38 gu4ZIed/SCyU8OQ3unISMyNufVOAUvcOLv2LHekp+cyq96vm7NSnzPmT9cDs7LtpcK0J stN5KuU3WXNgt5HS/rKes09Fhq5vAUe9CbI2GJppAAWu2/QlB8sGYpzo/AA7elDs7E38 wL3tCthPy5R2myWuDym2D9dRrCFayeCZ/zzyWu/SUumAZY2f8Lh3o4emgan5PotzpunD mUMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=sTZWo8vDJpS8bhCf3AaS91rmTJ+wCscCrVtNvIoVmYA=; b=uYkywrDlBU24OWo52QP1rh5FcS3UXR87Lkm8MOTPD7BcdfBs66WhyboyFyG/56So1M QsBDKDQ0H86TvPURfGJg+fe+75Ocyy2aeCSc783Koi18AkFEfAwMvCA8q1FRlMh9Xw47 nWwfEZiV0e1AtknCLkaCq3D5ZsAlt/S3lFnkZNizqmXZoQSfLcq9gnTojX2tgo73SdaW +22J9ykkxksRbi21uAFTibQTOdz2v1+/pah2Fddf4G7yP1nD3/EZDPX3LHUTBI/LgOp+ K7egUC1PY39lmgyon5QWfCejo+mHuNaJyLk1/woW/AkYAipB+qYjOK4hJ/4EEr6RZTNX Jl6Q== X-Gm-Message-State: AGRZ1gJPqjWuJq078ChAZDdvsW8SWY5SBMmCfrTUyYzKd2mI3Uhd/7ZO htdurERWduuw/rGl/ls409+o3DRZ X-Received: by 2002:a17:906:d507:: with SMTP id ge7-v6mr25825718ejb.78.1543396604046; Wed, 28 Nov 2018 01:16:44 -0800 (PST) Received: from localhost (pD9E51040.dip0.t-ipconnect.de. [217.229.16.64]) by smtp.gmail.com with ESMTPSA id p22-v6sm978646ejf.48.2018.11.28.01.16.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Nov 2018 01:16:43 -0800 (PST) Date: Wed, 28 Nov 2018 10:16:42 +0100 From: Thierry Reding To: Robert Yang Cc: Peter De Schrijver , Prashant Gaikwad , Michael Turquette , Stephen Boyd , Jonathan Hunter , linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] clk: tegra: Return the exact clock rate from clk_round_rate Message-ID: <20181128091642.GC17419@ulmo> References: <20180925214940.15188-1-decatf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rQ2U398070+RC21q" Content-Disposition: inline In-Reply-To: <20180925214940.15188-1-decatf@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --rQ2U398070+RC21q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 25, 2018 at 05:49:40PM -0400, Robert Yang wrote: > The current behavior is that clk_round_rate would return the same clock > rate passed to it for valid PLL configurations. This change will return > the exact rate the PLL will provide in accordance with clk API. >=20 > Signed-off-by: Robert Yang > --- > Changes in V2: > - Move input divider (m =3D=3D 0) check into the cfg constraints check > condition. Forgo adding WARN_ON and avoid using 0 input divider > all together. >=20 > drivers/clk/tegra/clk-pll.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) Acked-by: Thierry Reding --rQ2U398070+RC21q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlv+XPoACgkQ3SOs138+ s6HcChAAsJUmStXiyFMnv33/TdFkGug/68b2CmxssoFUhVF9wVVzofb9WwJJJ+Gk J34qPXy+v+GgCofh0KYrKkb0Jpz6c8fog+sjmvwyCpplml7rAqw2wM4EAfMACAyT Hnb3bxRKgmK62ccu9IpMNl/bvHhEyYuh0zsm41PPx9Tbp+VOK4FVBPt2BFnPFpDY rTf5riPCOzW7dhb63zSiNkx4SzRygBKDOiQOPQc28DJyKj4JLNVEoCB86mr7gqMU BOt/1N8+aGUoO5uhs9BaijEZqexnvIn2H80lVjNRbdfz6PnXK7LWQbFgErvYApHn 2GLWiXPGK/HVC8YelBWvh+qL/CB/N0b6TCEq0WSd24zFJeY3EOXuGiqne0nNs/w3 rBLg9XjNIe3xs/sJ2h1Hj+LpIlnS7og0J60mE6psQRuYYr5JX86QhMcUnNx+N8DD JywJpvLOaFLJONPwblmKwBqFRMc/EgBrOvQSjLqimyuH85JdgGNtgbYvLzq+pXMC QWHhk7iizPslaS8ElgUsgB2jok5OlSGY5CAmieuOK7/AJQjGB0EDYFTPQi0wqrBu qhdDUHwWPlVMbOx/0GreRS1RzNwp4mkfc6ZgZ5a2yEkFEtOI7vbOKLh1DIfq9LV9 RGiuLRnS0ChtoWI+6OugOTBH1h2wzBBvfkljGsyN07JqkZ9fbI4= =vg/F -----END PGP SIGNATURE----- --rQ2U398070+RC21q--