[alsa-devel] [PATCH 1/2] powerpc: add platform registration for ALSA SoC drivers

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Apr 27 22:38:21 CEST 2010

On Tue, Apr 27, 2010 at 03:04:33PM -0500, Timur Tabi wrote:

[Reflowed into 80 columns]

> At least, that's the way ASoC likes to operate.  AsoC takes a fixed
> string plus a unique integer.  I could technically create a unique
> string for each DMA device, and have the integer always be 0.

This seems like the most direct approach to your problem - as with other
subsystems the .id is there mostly to provide deduping when the string
is always the same, if you can easily come up with sensible names you
can just use those.

More information about the Alsa-devel mailing list