Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp589093imm; Mon, 1 Oct 2018 15:09:07 -0700 (PDT) X-Google-Smtp-Source: ACcGV60mp8n89He7gzKQm7FVJ9NG8shqp30dvqrPEgIl88JTZwpLh7uxJVGtEpZ/vy6mY/viclfK X-Received: by 2002:a63:ff46:: with SMTP id s6-v6mr12075144pgk.241.1538431747483; Mon, 01 Oct 2018 15:09:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538431747; cv=none; d=google.com; s=arc-20160816; b=e+tU4ePIQiuKo69nw91nIjuEiDJiiYTmPtvnWgj2eUk8n0s18nFR6KxSuPcjtsx3bV F+gnVTLJWdEhC8KC22NABBdbOskmHCcPZMU5ajEMDRm59/lU2yhszsBz0NYRYnc0sfzu NAumvKyvH5tIPJJBuqY2BnFVSBELcPSrDUZgUMr71aryJoszRVkamS1b+53sr1WXQYWO kRVJ+qxm04KShNp4u1NzzsKtheSZL9tky+Kdpr+w5d1CxbRjWIoysnsn23dW+yrdNW6k msXb2AzUZGZtJElaSug9gcnkAqJEv7pdg/y/+7etnqJAFAsglz39TjxnAymD0oUqis/s sypA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=G2tSjNwkzyR9gfCrKcyGNEXAjYzIxnoSh9i4zi2XV/M=; b=FxMM1Abbgf9WCBGrxBoJ5GqNtxUzFnDOFbHFUbj/8PcJ0Fw9po0l77fzi5Ep8UfbYg ZqXd8PxxYGlub8o4tunukMt7rrH/++9QcQEGtPuseJEhCNlsR8JZt2av87EErpS+yG/P ymjb68PiBsZdDD24OX/ixKaExV6alaaaZFHiT6fRKvMvmug2RItc5mMRNjLBEVszwuOJ ZMVhu5FuPjGCPOGva3Y+VbbLp3l3AYWe5dWa5q/usEysqETEGOLK7Or/TE917kAJuzeV OlYUD9B2oVYYcDdgnVM5Tog4F+c47vCk+8CVGKD+nHe3B9Wx6EB0vcdCNrnHffOpMMgK +jJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=D1r1cPjX; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d21-v6si13404557pfd.114.2018.10.01.15.08.52; Mon, 01 Oct 2018 15:09:07 -0700 (PDT) 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=@kernel.org header.s=default header.b=D1r1cPjX; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726313AbeJBEsn (ORCPT + 99 others); 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"?