[alsa-devel] [PATCH] asoc tlv320aic3x: set power bits correctly

Daniel Mack daniel at caiaq.org
Wed Apr 30 15:11:06 CEST 2008

Hi Jarkko,

On 30.04.2008, at 13:50, Jarkko Nikula wrote:

> I was looking do we have possible driver bug here and answer is no.  
> Driver keeps output state powered during playback if associated  
> endpoint is enabled with snd_soc_dapm_set_endpoint and unpowered  
> otherwise.
> So as with Mark's comment, the patch is unnecessary.

Hmm, ok - I might have a lack of knowledge here. All I was seeing with  
an I2C hardware analyzer is that those registers in question were  
written without the power bit set which makes them remain muted.  
What's the way to power up this entity properly?

And as we're on it - aic3x_dapm_event(SNDRV_CTL_POWER_D3cold) is  
called shortly after PCM playback has finished which clears the power  
bits of many registers. This in turn also makes the current PGA mixer  
setting become unfunctional as the outputs are switched off. Is there  
a proper way of preventing the glue layer to power down the chip in  
this case?


More information about the Alsa-devel mailing list