[alsa-devel] [PATCH v2 0/1] *** SUBJECT HERE ***

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jul 22 15:05:49 CEST 2010

On Thu, Jul 22, 2010 at 02:11:27PM +0200, matti.j.aaltonen at nokia.com wrote:

> >You've still not provided any information about what use this will be
> >put to.

> Yes, sorry I didn't get your point. I guess I tought that it's irrelevant, what
> the soc_card driver actually does. But it actually does this:

OK, so the DAI format for the CODEC changes dependant on the mode.  For
this I'd suggest just changing the function to actually export the DAI
format directly rather than requring all users to replicate the lookup
you've currently got in your driver.  This makes it clear what the
purpose of providing the export is and avoids external drivers needing
to know too much about the internals of this one.

In terms of what's relevant if someone's asking questions like this
they're normally trying to figure out what your high level goal is
because your code looks suspicous and are trying to understand the
purpose of the code so they can suggest a way of doing things that is
more in line with the intentions of the surrounding code.

More information about the Alsa-devel mailing list