Re: [PATCH 03/11] MIPS: pic32mzda: fix getting timer clock rate.
From: Ralf Baechle
Date: Tue May 17 2016 - 08:30:44 EST
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 <purna.mandal@xxxxxxxxxxxxx>
>
> ---
> 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