[alsa-devel] [PATCH] ASoC: TWL4030: PM fix for output amplifiers

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Mar 22 18:00:43 CET 2010

On Mon, Mar 22, 2010 at 04:48:34PM +0000, Liam Girdwood wrote:

> I think Peter means that without making changes to the current IO model
> or reverting the removal of the old PGA code there is no generic way of
> handling this atm.

Well, you need to add new control types anyway so they know not to do
the writes so making them DTRT is fairly trivial.

> So we should probably look at bringing back the PGA code (now that there
> is a user) so that the patch can be updated to use it.

The issue with the old PGA code is that it's fundamentally mono but a
substantial proportion of the output paths really are stereo and want to
export stereo control to userspace but DAPM is pretty much mono all the
way.  Decoupling the mute from the PGA solves that, and lets us use this
with other widget types if that's useful (though virtual PGAs could
cover that too).

More information about the Alsa-devel mailing list