From: Liam Girdwood <lrg@ti.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>,
alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com
Subject: Re: [PATCH 1/3] ASoC: core: Allow CODECs to set ignore_pmdown_time in the driver struct
Date: Thu, 09 Feb 2012 08:49:04 +0000 [thread overview]
Message-ID: <1328777344.3951.6.camel@odin> (raw)
In-Reply-To: <1328726238-556-1-git-send-email-broonie@opensource.wolfsonmicro.com>
On Wed, 2012-02-08 at 18:37 +0000, Mark Brown wrote:
> This is usually not a use case dependant flag anyway.
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> include/sound/soc.h | 2 ++
> sound/soc/soc-core.c | 1 +
> 2 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/include/sound/soc.h b/include/sound/soc.h
> index ecd5d72..d1e7a6a 100644
> --- a/include/sound/soc.h
> +++ b/include/sound/soc.h
> @@ -657,6 +657,8 @@ struct snd_soc_codec_driver {
> /* codec stream completion event */
> int (*stream_event)(struct snd_soc_dapm_context *dapm, int event);
>
> + bool ignore_pmdown_time; /* Doesn't benefit from pmdown delay */
> +
> /* probe ordering - for components with runtime dependencies */
> int probe_order;
> int remove_order;
> diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
> index 3a3b487..0b9974f 100644
> --- a/sound/soc/soc-core.c
> +++ b/sound/soc/soc-core.c
> @@ -3380,6 +3380,7 @@ int snd_soc_register_codec(struct device *dev,
> codec->volatile_register = codec_drv->volatile_register;
> codec->readable_register = codec_drv->readable_register;
> codec->writable_register = codec_drv->writable_register;
> + codec->ignore_pmdown_time = codec_drv->ignore_pmdown_time;
> codec->dapm.bias_level = SND_SOC_BIAS_OFF;
> codec->dapm.dev = dev;
> codec->dapm.codec = codec;
All
Acked-by: Liam Girdwood <lrg@ti.com>
prev parent reply other threads:[~2012-02-09 8:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-08 18:37 [PATCH 1/3] ASoC: core: Allow CODECs to set ignore_pmdown_time in the driver struct Mark Brown
2012-02-08 18:37 ` [PATCH 2/3] ASoC: twl6040: Move ignore_pmdown_time to " Mark Brown
2012-02-09 10:34 ` Peter Ujfalusi
2012-02-08 18:37 ` [PATCH 3/3] ASoC: wm2200: Ignore pmdown_time Mark Brown
2012-02-09 8:49 ` Liam Girdwood [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=1328777344.3951.6.camel@odin \
--to=lrg@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=patches@opensource.wolfsonmicro.com \
--cc=peter.ujfalusi@ti.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;
as well as URLs for NNTP newsgroup(s).