AnsweredAssumed Answered

imx6q wm8962 codec low power problem

Question asked by junjun wei on Mar 31, 2017
Latest reply on Apr 4, 2017 by Wigros Sun

Hi 

 

Hardware :

imx6q daemon board :

 

Software:

Android M

 

Question:

I cannot not heard sound when I suspend using power key and I close codec wm8962 1.8v power supply.

And why not close codec 1.8v power because I need decrease codec power consuming?

 

Android HAL log:

 

01-01 03:54:46.098 218 521 W audio_hw_primary: out_set_parameters routing=2, ret 0, out -1242503872
01-01 03:54:46.111 218 520 W audio_hw_primary: ret -32, pcm write 768 error wait error: hw 0x21780 app 0x21d80 avail 0x0
01-01 03:54:46.111 218 520 W audio_hw_primary: : Unknown error -32
01-01 03:54:46.111 218 520 W audio_hw_primary: ret -32,state is 4, pcm write 768 error wait error: hw 0x21780 app 0x21d80 avail 0x0
01-01 03:54:46.111 218 520 W audio_hw_primary: : Unknown error -32
01-01 03:54:46.794 218 218 W audio_hw_primary: set parameters screen_state=off
01-01 03:54:49.378 218 521 W audio_hw_primary: no standby
01-01 03:54:53.303 218 1237 W audio_hw_primary: set parameters screen_state=on
01-01 03:54:58.607 218 521 W audio_hw_primary: out_set_parameters routing=2, ret 0, out -1242503872
01-01 03:54:58.620 218 520 W audio_hw_primary: ret -86, pcm write 768 error wait error: hw 0x23580 app 0x23b80 avail 0x0
01-01 03:54:58.620 218 520 W audio_hw_primary: : Unknown error -86
01-01 03:54:58.620 218 520 W audio_hw_primary: ret -86,state is 7, pcm write 768 error wait error: hw 0x23580 app 0x23b80 avail 0x0 (state 7 is suspend)
01-01 03:54:58.620 218 520 W audio_hw_primary: : Unknown error -86

Outcomes