Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: alsa-devel@alsa-project.org, Liam Girdwood <lgirdwood@gmail.com>,
	Benoit Cousson <bcousson@baylibre.com>
Subject: Re: [PATCH] ASoC: dapm: Factor out duplicated code in soc_dapm_stream_event()
Date: Tue, 29 Apr 2014 09:41:59 -0700	[thread overview]
Message-ID: <20140429164159.GC16981@sirena.org.uk> (raw)
In-Reply-To: <1398775882-2321-1-git-send-email-lars@metafoo.de>


[-- Attachment #1.1: Type: text/plain, Size: 450 bytes --]

On Tue, Apr 29, 2014 at 02:51:22PM +0200, Lars-Peter Clausen wrote:
> In soc_dapm_stream_event() we have the same code twice, once for the codec_dai
> and once for the cpu_dai.  This patch factors the duplicated code out into a
> separate function. This will make it easier to modify the implementation (since
> there is only one place that needs to be updated) and also easier to add support
> for more than two DAIs per DAI link.

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



      reply	other threads:[~2014-04-29 16:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-29 12:51 [PATCH] ASoC: dapm: Factor out duplicated code in soc_dapm_stream_event() Lars-Peter Clausen
2014-04-29 16:41 ` 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=20140429164159.GC16981@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=bcousson@baylibre.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.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