[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140912051140.GA3644@audiosh1>
Date: Fri, 12 Sep 2014 13:11:42 +0800
From: Shengjiu Wang <shengjiu.wang@...escale.com>
To: Timur Tabi <timur@...i.org>
CC: <nicoleotsuka@...il.com>, <Li.Xiubo@...escale.com>,
<lgirdwood@...il.com>, <broonie@...nel.org>, <perex@...ex.cz>,
<tiwai@...e.de>, <alsa-devel@...a-project.org>,
<linuxppc-dev@...ts.ozlabs.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V2] ASoC: fsl_ssi: refine ipg clock usage in this module
On Thu, Sep 11, 2014 at 09:43:59PM -0500, Timur Tabi wrote:
> Shengjiu Wang wrote:
> >+ ret = clk_prepare_enable(ssi_private->clk);
> >+ if (ret)
> >+ return ret;
>
> Will this work on PowerPC, where ssi_private->clk is always NULL?
When ssi_private->clk is NULL, then ret = 0, so here will not return,
the code in below will be continuously executed.
I think it work on PowerPC.
wang shengjiu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists