[alsa-devel] [PATCH] ASoC: nau8825: extend FLL function

Mark Brown broonie at kernel.org
Thu Mar 10 06:24:48 CET 2016


On Thu, Mar 10, 2016 at 12:31:54PM +0800, John Hsu wrote:
> On 3/9/2016 10:40 AM, Mark Brown wrote:

> >This really isn't a good way to be handling things, you should be
> >ensuring that platforms that have an MCLK provide one via the clock API.
> >If the clock is missing that should indicate that it's the second case
> >where it's not used at all.

> Do you mean I should use devm_clk_get to check mclk exist instead of
> nau8825->mclk in nau8825_mclk_prepare function? And return a warn-
> ing message if mclk is missing?

That might make sense, yes.  Let's see the code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160310/d290deea/attachment.sig>


More information about the Alsa-devel mailing list