[alsa-devel] [PATCH 1/3] ASoC: TWL4030: Enable voice filters for voice sidetone

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Jun 23 12:16:16 CEST 2009

On Tue, Jun 23, 2009 at 08:38:20AM +0300, Peter Ujfalusi wrote:

> Now if you start an audio playback (which will enable the ARXL1, even if we 
> are in Option2), than you stop it: the ARXL1 (which is VRX in Option2) bit 
> will be turned off... Now I'm not sure how this will be handled by the ASoC 
> core.
> What I mean is: One path enabled this bit, than another path also enables the 
> same bit, than it disables it. Will the first path notice it? Or will it think 
> that the bit is still enabled?

Sounds like a possible case for a supply widget, though the fact that
you've got both option 1 and option 2 is fun.  If the driver were a
proper platform driver you could select between option 1 and option 2 in
platform data (assuming that's sensible) and register different widgets
depending on which was in use.

More information about the Alsa-devel mailing list