Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933711AbcJQWbH (ORCPT ); Mon, 17 Oct 2016 18:31:07 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57105 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932310AbcJQWbA (ORCPT ); Mon, 17 Oct 2016 18:31:00 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org A1C10612C1 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=sboyd@codeaurora.org Date: Mon, 17 Oct 2016 15:30:58 -0700 From: Stephen Boyd To: Gregory CLEMENT Cc: Mike Turquette , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] clk: mvebu: armada-37xx-periph: Fix the clock provider registration Message-ID: <20161017223058.GJ8871@codeaurora.org> References: <20160929142855.30408-1-gregory.clement@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160929142855.30408-1-gregory.clement@free-electrons.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: 509 Lines: 15 On 09/29, Gregory CLEMENT wrote: > While trying using a peripheral clock on a driver, I saw that the clock > pointer returned by the provider was NULL. > > The problem was a missing indirection. It was the pointer stored in the > hws array which needed to be updated not the value it contains. > > Signed-off-by: Gregory CLEMENT > --- Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project