Re: [PATCH] ASoC: Add optional pointer to machine audio routes to snd_soc_card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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@xxxxxxxxx>.
> 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@xxxxxxxxxxxxxxx>
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.

Alsa-devel mailing list

[ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

Add to Google Powered by Linux