Re: [PATCH v3 3/3] mfd: madera: Add support for requesting the supply clocks

From: Charles Keepax
Date: Fri Oct 04 2019 - 11:21:47 EST


On Fri, Oct 04, 2019 at 03:34:10PM +0100, Lee Jones wrote:
> On Tue, 01 Oct 2019, Charles Keepax wrote:
>
> > Add the ability to get the clock for each clock input pin of the chip
> > and enable MCLK2 since that is expected to be a permanently enabled
> > 32kHz clock.
> >
> > Signed-off-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
> > ---
> > /* Init 32k clock sourced from MCLK2 */
> > + ret = clk_prepare_enable(madera->mclk[MADERA_MCLK2].clk);
> > + if (ret != 0) {
>
> Nit: Why is this not 'if (ret)' like in the rest of the file?
>

Apologies will get that fixed up.

Thanks,
Charles