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=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 C9EEAC433DF for ; Wed, 27 May 2020 01:01:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A6E91208A7 for ; Wed, 27 May 2020 01:01:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590541281; bh=NtZy5/K3/zCTcG/yP4zAKmzCDT70slJ8ic2T/Pp+kCg=; h=In-Reply-To:References:Subject:From:Cc:To:Date:List-ID:From; b=giQb/bcXKBLEUqfL8oOLCveo0FD0YVQ6Nlg1xfPheB/gcJwxhEPxMgaxVPDSGTuea Oz9tEmGSXdjBSw9EFkdtPt1LTMLomFNX9rf4x4y1XZWmHBFSYawfyQ5VRZiN6ldYn/ UetPIFFS3BgFHWabY7o45Y8zBixfOkQL3cpdo8Qw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727940AbgE0BBV (ORCPT ); Tue, 26 May 2020 21:01:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:32924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727938AbgE0BBV (ORCPT ); Tue, 26 May 2020 21:01:21 -0400 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C7E9B2089D; Wed, 27 May 2020 01:01:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590541280; bh=NtZy5/K3/zCTcG/yP4zAKmzCDT70slJ8ic2T/Pp+kCg=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=F/+TmWTl8teuTFMAfcjl519GMYb1JpQU7IFk0YGOjpJzSWNT9tSOh/sqLuXF9qwNZ uRXemv0/3ahLWAbpwAjrX98j8AAMFhSPx9ZmBRWCUVuBzuSa5yQITiCfx3lUpkEqTa pB5Ig7CDi1s2TVLG0PdGmP4eO2PqgUkABQPIza/E= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1583185843-20707-2-git-send-email-jolly.shah@xilinx.com> References: <1583185843-20707-1-git-send-email-jolly.shah@xilinx.com> <1583185843-20707-2-git-send-email-jolly.shah@xilinx.com> Subject: Re: [PATCH v2 1/4] drivers: clk: zynqmp: Limit bestdiv with maxdiv From: Stephen Boyd Cc: rajanv@xilinx.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rajan Vaja , Jolly Shah To: Jolly Shah , arm@kernel.org, linux-clk@vger.kernel.org, michal.simek@xilinx.com, mturquette@baylibre.com, olof@lixom.net Date: Tue, 26 May 2020 18:01:20 -0700 Message-ID: <159054128018.88029.11167718877921501862@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Quoting Jolly Shah (2020-03-02 13:50:40) > From: Rajan Vaja >=20 > Clock divider value should not be greater than maximum divider value. > So use minimum of best divider or maximum divider value. >=20 > Signed-off-by: Rajan Vaja > Signed-off-by: Jolly Shah > --- Applied to clk-next