On Tue, Mar 15, 2011 at 03:10:23PM +0530, Koul, Vinod wrote:
In some cases the audio stream is kept ON and idle by application. In that case codec is also ON. Is there a mechanism where DAPM can detect this idle condition and turn off the idle widgets or turn of the codec BIAS
If this is happening it's a framework bug - if there are no active audio streams through the device then it should be brought down to the lowest power state. The application doesn't have any direct control over the CODEC power except by configuring audio streams. Can you provide any more details on how this happens?
Note that for playback streams there's a delay before things are powered down to avoid delays, pops and clicks when doing things like changing tracks. By default the delay is 5s.