Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933095AbbKRWTI (ORCPT ); Wed, 18 Nov 2015 17:19:08 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:36927 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750832AbbKRWTG (ORCPT ); Wed, 18 Nov 2015 17:19:06 -0500 Date: Wed, 18 Nov 2015 14:19:03 -0800 From: Stephen Boyd To: Jyri Sarha Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Mike Turquette , tomi.valkeinen@ti.com, Sergej Sawazki Subject: Re: [PATCH] clk: gpio: Get parent clk names already in of_gpio_clk_setup() Message-ID: <20151118221903.GF32672@codeaurora.org> References: <201511170911.tAH9B0CF031498@arroyo.ext.ti.com> <1447754204-24088-1-git-send-email-jsarha@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447754204-24088-1-git-send-email-jsarha@ti.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1219 Lines: 28 On 11/17, Jyri Sarha wrote: > Get parent clk names already in of_gpio_clk_setup() and store the > names in struct clk_gpio_delayed_register_data. of_clk_get_parent_name() > can not be called in struct of_clk_provider's get() callback since it > may make a recursive call to of_clk_get_from_provider() and this in turn > tries to recursively lock of_clk_mutex. > > Signed-off-by: Jyri Sarha > Cc: Sergej Sawazki > --- > Something has changed in Linux mainline so that getting the clk > parent names in struct of_clk_provider's get() callback does not work > anymore. This patch should fix the problem. Something would be commit 0a4807c2f9a4 (clk: Make of_clk_get_parent_name() robust with #clock-cells = 1, 2015-10-14)? The patch looks good. Given that there's one user of this code in mainline I'll push this as a fix for v4.4. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/