From: Mark Brown <broonie@kernel.org>
To: Nicolin Chen <nicoleotsuka@gmail.com>
Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com,
linux-kernel@vger.kernel.org, b42378@freescale.com,
b02247@freescale.com
Subject: Re: [PATCH v2] ASoC: wm8962: Let CODEC driver enable and disable its own MCLK
Date: Mon, 28 Jul 2014 13:22:11 +0100 [thread overview]
Message-ID: <20140728122211.GS17528@sirena.org.uk> (raw)
In-Reply-To: <1406547718-21498-1-git-send-email-nicoleotsuka@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
On Mon, Jul 28, 2014 at 07:41:58PM +0800, Nicolin Chen wrote:
> + pdata->mclk = devm_clk_get(&i2c->dev, NULL);
> +
This is broken for deferred probe.
> + clk_prepare_enable(wm8962->pdata.mclk);
> +
Missing error checking.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2014-07-28 12:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-28 11:41 Nicolin Chen
2014-07-28 12:22 ` Mark Brown [this message]
2014-07-28 18:19 ` [alsa-devel] " Fabio Estevam
2014-07-29 2:55 ` Nicolin Chen
2014-07-29 9:52 ` Mark Brown
2014-07-29 10:19 ` Nicolin Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140728122211.GS17528@sirena.org.uk \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=b02247@freescale.com \
--cc=b42378@freescale.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nicoleotsuka@gmail.com \
--cc=patches@opensource.wolfsonmicro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome