Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752183AbcLGGch (ORCPT ); Wed, 7 Dec 2016 01:32:37 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:63554 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751455AbcLGGcg (ORCPT ); Wed, 7 Dec 2016 01:32:36 -0500 Subject: Re: [PATCH v3 1/3] ARM: da850: fix infinite loop in clk_set_rate() To: David Lechner , Bartosz Golaszewski , Kevin Hilman , Michael Turquette , Peter Ujfalusi , Russell King , Viresh Kumar , Boris Brezillon , "Rafael J. Wysocki" , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen References: <1480932549-30811-1-git-send-email-bgolaszewski@baylibre.com> <1480932549-30811-2-git-send-email-bgolaszewski@baylibre.com> <148e4d35-da65-a212-1490-c2d902dd4410@lechnology.com> CC: LKML , arm-soc , From: Sekhar Nori Message-ID: <94b2151a-7e9e-3e77-f3da-df2fa3b66848@ti.com> Date: Wed, 7 Dec 2016 12:00:18 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <148e4d35-da65-a212-1490-c2d902dd4410@lechnology.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 504 Lines: 14 On Wednesday 07 December 2016 07:24 AM, David Lechner wrote: > On 12/05/2016 04:09 AM, Bartosz Golaszewski wrote: >> The aemif clock is added twice to the lookup table in da850.c. This >> breaks the children list of pll0_sysclk3 as we're using the same list >> links in struct clk. When calling clk_set_rate(), we get stuck in >> propagate_rate(). > > &emac_clk is used twice in this list as well. Shouldn't we fix it too? I > would expect that it causes the same problem. Yes, indeed. Thanks, Sekhar