[alsa-devel] [PATCH] ASoC: dapm: Factor out duplicated code in soc_dapm_stream_event()

Mark Brown broonie at kernel.org
Tue Apr 29 18:41:59 CEST 2014


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140429/68a5675f/attachment.sig>


More information about the Alsa-devel mailing list