[alsa-devel] ASoC: About amp driver

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Jun 15 11:07:57 CEST 2009


On Mon, Jun 15, 2009 at 04:54:49PM +0900, Joonyoung Shim wrote:

> I have one question. Currently, the amp driver of ASoC is included in machine
> driver. (ex. neo1973_wm8753 machine driver)
> I want to use the same amp driver in more than one machine driver, but then the
> same amp driver code exists double in each machine driver.

> So, how about spliting between the amp driver and the machine driver? and Is it
> possible?

Put the generic bits of the amp driver in sound/soc/codecs (there won't
be much).  At the minute you'll need to glue it in in via the machine
driver in the same way that OpenMoko does, there's not really any
support for multiple devices in the analouge part of the audio
subsystem.  This is on my radar to deal with, I have some systems where
it is relevant, but it's not there yet.


More information about the Alsa-devel mailing list