[alsa-devel] [PATCH 1/1] ASoC: TWL4030: Wait RAMP_DELAY on headsetl_event: POST_PMD

Mark Brown broonie at opensource.wolfsonmicro.com
Thu May 14 11:56:21 CEST 2009


On Thu, May 14, 2009 at 12:48:49PM +0300, Peter Ujfalusi wrote:

> This is not really possible with the twl4030 codec.
> For simplicity, let's take the Audio left2 route:
> DACL2 -> PGAL2 ---> PreDriveL
>                 |-> PreDriveR
>                 |-> HeadsetL
>                 |-> CarkitL
>                 |-> HandsFreeL
>                 |-> HandsFreeR
>                 \-> Earpiece

> At least the Headset and HandsFree needs special mantra for the pop removal.
> If the Headset is not connected/used than there is no need to do the HS pop 
> attenuation.

The event could check the current setup and do whatever's appropriate?

BTW, since you're saying the required ramp time is clock dependent
shouldn't it also be possible to configure the ramp time automatically
based on the clock that's been configured?


More information about the Alsa-devel mailing list