[alsa-devel] [RFC 0/2] soc-dapm or TWL4030: Runtime DAPM ordering problem
Mark Brown
broonie at opensource.wolfsonmicro.com
Tue Aug 3 04:56:40 CEST 2010
On 2 Aug 2010, at 11:59, Peter Ujfalusi wrote:
> On Monday 02 August 2010 13:27:21 ext Mark Brown wrote:
>> With most things it's safer to implement the route change first -
>> especially in the analogue domain route changes tend to introduce DC
>> offsets so it's safer to set the route prior to powering up so the offset
>> changes don't get amplified. This is also very important when doing DC
>> offset correction, obviously there it's important to measure the offset of
>> the path you're actually trying to run rather than using whatever path was
>> there before.
> Sure, but what I'm telling is that we/I have basically two different scenarios
> to fix for pop noise.
> A. When the user configures the capture routing, and starts the capture
> B. When the user changes the capture routing during active capture (analog to
> digital, or back).
It feels like you're focusing in on one specific use case here - there's way more active->active transitions that are possible. For example, you could switch in bypass or start a second (unrelated) capture stream on devices that can support that. I think any change in DAPM needs to be motivated in more general terms than you're using here. For driver-specific changes this is fine but for changes in the generic code we need to think things through more generically.
> This might be not a problem for others, but since the TWL4030 has quite
> complicated internal routings, and the controls for some of the routings are
> scattered all around the register table with bits here and there, and
> dependency to other bits, at least I'm not that happy that I need to handle
> things differently...
I don't think the feature set is particularly unusual here, really - the main problem with TWL4030 appears to be the large number of magic "make the chip behave totally differently" bits that it has like with the selection between DSP and I2S modes.
More information about the Alsa-devel
mailing list