From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Ola Lilja <ola.o.lilja@stericsson.com>
Cc: alsa-devel@alsa-project.org, Liam Girdwood <lrg@ti.com>,
Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH 2/5] ASoC: core: Add widget SND_SOC_DAPM_CLOCK_SUPPLY
Date: Mon, 28 May 2012 11:59:03 +0100 [thread overview]
Message-ID: <20120528105902.GB4032@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1337865985-26077-1-git-send-email-ola.o.lilja@stericsson.com>
[-- Attachment #1.1: Type: text/plain, Size: 807 bytes --]
On Thu, May 24, 2012 at 03:26:25PM +0200, Ola Lilja wrote:
> Adds a supply-widget variant for connection to the clock-framework.
> This widget-type corresponds to the variant for regulators.
I'll apply this but...
> + case snd_soc_dapm_clock_supply:
> + w->clk = clk_get(dapm->dev, w->name);
> + if (IS_ERR(w->clk)) {
> + ret = PTR_ERR(w->clk);
> + dev_err(dapm->dev, "Failed to request %s: %d\n",
> + w->name, ret);
> + return NULL;
Should be devm_clk_get() (which will be there after the merge window)
but I'll fix that up once the merge window sorts itself out.
We'll also need to work out how this works with the clk API not being
generally available but that'll partly depend on the clk API stubs - if
they're in -rc1 there should be no problem otherwise we'll need ifdefs
or something.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
prev parent reply other threads:[~2012-05-28 10:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 13:26 [PATCH 2/5] ASoC: core: Add widget SND_SOC_DAPM_CLOCK_SUPPLY Ola Lilja
2012-05-28 10:59 ` Mark Brown [this message]
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=20120528105902.GB4032@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=linus.walleij@linaro.org \
--cc=lrg@ti.com \
--cc=ola.o.lilja@stericsson.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.