[alsa-devel] ASoC: Amplifier behind codec?

Wolfram Sang w.sang at pengutronix.de
Tue Oct 18 12:38:21 CEST 2011


Hi,

I have here an amplifier (MAX9768) between codec output and the speaker,
all controlled via I2C. I noticed that other amplifier drivers export a
function called *_add_controls(), so the platform glue code can add the
amplifier controls to the codec. Now, all drivers working like this use
a single static instance of the i2c client, because there doesn't seem
to be a connection between the added control elements and the additional
i2c client.

Is the above approach still the preferred way of doing this?

Thanks,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20111018/e0e2a750/attachment.sig 


More information about the Alsa-devel mailing list