
Agree. System integrator may not like to delay closing modem ports for 6 seconds either. Need to close the ports immediately or delay. Do you suggest that we shouldn't delay in the driver and introduce delay in the user pace? I prefer to remove the delay altogether from the driver. Do you see any issue which might cause glitches?
-----Original Message----- From: Mark Brown [mailto:broonie@opensource.wolfsonmicro.com] Sent: Friday, October 21, 2011 12:42 PM To: Nallasellan, Singaravelan Cc: Babu, Ramesh; Peter Ujfalusi; alsa-devel@alsa-project.org; Liam Girdwood; Misael Lopez Cruz Subject: Re: [alsa-devel] [PATCH v2 1/2] ASoC: core: Add flag to ignore pmdown_time at pcm_close
On Fri, Oct 21, 2011 at 10:31:40PM +0530, Nallasellan, Singaravelan wrote:
Fix your mailer to word wrap within paragraphs and don't top post when posting to public mailing lists.
I think the requirement is to delay the power down the link during the music playback. There is a possibility that next song will start playing sooner. In this case, try to avoid power down and power up the DAI immediately. In case of voice call, it is not expected to have voice call immediately after a call. It can be closed. Phone stack can go ahead and close the modem path but codec path will still be open. This will cause glitches.
You can't decide this on the basis of the DAI, though - the system integrator may have thought of another use for the DAI.