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=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=unavailable 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 ED4D1C64EB6 for ; Mon, 1 Oct 2018 22:08:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B2F932145D for ; Mon, 1 Oct 2018 22:08:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="D1r1cPjX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B2F932145D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726349AbeJBEsn (ORCPT ); Tue, 2 Oct 2018 00:48:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:52624 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbeJBEsn (ORCPT ); Tue, 2 Oct 2018 00:48:43 -0400 Received: from localhost (unknown [104.132.0.94]) (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 050AA208AE; Mon, 1 Oct 2018 22:08:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538431727; bh=G2tSjNwkzyR9gfCrKcyGNEXAjYzIxnoSh9i4zi2XV/M=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=D1r1cPjXuPklFYnE4Q538Mibe68ujykta28dt3SkPvi8XoF8ghTWZE6douXclkCLD 34tKAFRsqaptw3qHsbpc/457jfhe3Cez0QWCB9K8kShFvI1kmwPcLi8NZkxGcNspys keG2ZEBYiXHit+SqGGf2jS8MIkNHCHy0rjPY1Qao= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Peter De Schrijver , ryang From: Stephen Boyd In-Reply-To: <20180921220037.16862-1-decatf@gmail.com> Cc: Prashant Gaikwad , Michael Turquette , Thierry Reding , Jonathan Hunter , linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, ryang References: <20180921220037.16862-1-decatf@gmail.com> Message-ID: <153843172633.119890.17243129066234373128@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH] clk: tegra: Fix an infinite loop when clock rate is zero Date: Mon, 01 Oct 2018 15:08:46 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting ryang (2018-09-21 15:00:37) > Calling clk_set_rate or clk_round_rate will lock up the kernel when the > rate is zero. This avoids the infinite loop and uses a slightly more > optimized p divider calculation. > = > Signed-off-by: ryang Do you have a more proper name? Or you want the author name to show up as "ryang"?