[alsa-devel] [PATCH] ASoC: Add optional pointer to machine audio routes to snd_soc_card
Liam Girdwood
lrg at slimlogic.co.uk
Mon Dec 20 10:24:28 CET 2010
On Fri, 2010-12-17 at 22:37 +0000, Mark Brown wrote:
> On Fri, Dec 17, 2010 at 07:39:40PM +0200, Jarkko Nikula wrote:
> > This is targeted mostly to cross-device setups where single audio map
> > defining routes around and between the codecs looks cleaner than defining
> > and registering maps to each codec separately from machine init callbacks.
> >
> > This could be also used to reduce simple machine init callbacks where only
> > snd_soc_dapm_add_routes and snd_soc_dapm_sync are called. However, this does
> > work only if the widgets names are unique in the system.
> >
> > Idea of common audio map came from Peter Ujfalusi <peter.ujfalusi at nokia.com>.
>
> Good idea. We should probably just do this for CODECs as well, they're
> often doing similar boiler plate type stuff.
Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
More information about the Alsa-devel
mailing list