[alsa-devel] [PATCH] ASoC: mmp-pcm: config pcm slave via generic dmaengine

Mark Brown broonie at kernel.org
Wed Dec 18 12:20:05 CET 2013


On Wed, Dec 18, 2013 at 11:14:36AM +0100, Lars-Peter Clausen wrote:
> On 12/18/2013 12:03 PM, Mark Brown wrote:

> > I worry about what this'd do on a multiplatform kernel - it seems
> > unlikely that someone has a pool with the same name but that sounds like
> > famous last words.  Nothing in mainline does though so...

> The sram_get_gpool() function is mmp2 specific. It basically iterates a list

It is?  That's an unfortunate name then.

> of available pools. Those pools are registered by mmp2 platform code. So on
> a multiplatform kernel not booting mmp2 it will always return NULL since no
> pools have been registered.

Yes, and like I say there's no non-MMP references to the string asram
either.  It seems viable to do things this way, though we need to get
the generic interface sorted before too many other platforms get the
same idea.
-------------- 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/20131218/15f37488/attachment.sig>


More information about the Alsa-devel mailing list