Re: ASoC: About amp driver

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

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.
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