[alsa-devel] SOC: using a codec (ADAU1761) just as an analog mixer
broonie at opensource.wolfsonmicro.com
Wed Oct 12 19:26:55 CEST 2011
On Wed, Oct 12, 2011 at 07:07:28PM +0200, Matteo Fortini wrote:
> I'm using an ADAU1761 codec in a project, but we'd like, for now, to
> use it just as a mixer, i.e. without passing through the ADC/DAC and
> DSP stages.
> Which is the best way of accomplishing that?
Just plumb it into the system as normal, bypass paths should just work.
If there's no digital link at all (not even one that you're not using
right now) then it's an aux_dev.
> In the past I tried to add virtual DAPM routes in order to get the
> relevant power systems powered up, and bypassing the standby modes,
> since the device wouldn't let me use the mixer controls through I2C if
> I don't clock it.
This is a bug in the driver, the driver should be putting the chip in
cache only mode when it can't be written to. If it's in _OFF and the
device needs clocks for I2C it's reasonable to expect that the driver
would assume they've gone away.
More information about the Alsa-devel