From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933010AbcEQMal (ORCPT ); Tue, 17 May 2016 08:30:41 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:46410 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932965AbcEQMaj (ORCPT ); Tue, 17 May 2016 08:30:39 -0400 Date: Tue, 17 May 2016 14:30:32 +0200 From: Ralf Baechle To: Purna Chandra Mandal Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Joshua Henderson Subject: Re: [PATCH 03/11] MIPS: pic32mzda: fix getting timer clock rate. Message-ID: <20160517123032.GD14481@linux-mips.org> References: <1463461560-9629-1-git-send-email-purna.mandal@microchip.com> <1463461560-9629-3-git-send-email-purna.mandal@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1463461560-9629-3-git-send-email-purna.mandal@microchip.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 17, 2016 at 10:35:52AM +0530, Purna Chandra Mandal wrote: > PIC32 clock driver is now implemented as platform driver instead of > as part of of_clk_init(). It meants all the clock modules are available > quite late in the boot sequence. So request for CPU clock by clk_get_sys() > and clk_get_rate() to find c0_timer rate fails. > > To fix this use PIC32 specific early clock functions implemented for early > console support. > > Signed-off-by: Purna Chandra Mandal > > --- > Note: Please pull this complete series through the MIPS tree. > > --- > > arch/mips/pic32/pic32mzda/time.c | 13 ++++--------- For now I applied only this patch as it seems independent of the remainder of the series which still will need to be reviewed and acked by the respective maintainers. Ralf