* wm8960 sleep time is too long when system suspend @ 2015-11-02 8:44 Zidan Wang 2015-11-02 9:18 ` Charles Keepax 2015-11-02 11:12 ` Mark Brown 0 siblings, 2 replies; 5+ messages in thread From: Zidan Wang @ 2015-11-02 8:44 UTC (permalink / raw) To: broonie; +Cc: ckeepax, patches, alsa-devel Hi Mark, In wm8960 codec driver, suspend_bias_off has been enabled. So when system suspend, the wm8960 codec will go to bias off, it will disable VMID and VREF, then sleep 600ms. It seems that 600ms is too long for system suspend. Because the wm8960 datasheet don't mentioned the sleep time, so i want to check with you if we can shorten the sleep time. Best Regards, Zidan Wang ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: wm8960 sleep time is too long when system suspend 2015-11-02 8:44 wm8960 sleep time is too long when system suspend Zidan Wang @ 2015-11-02 9:18 ` Charles Keepax 2015-11-02 10:49 ` Zidan Wang 2015-11-02 11:12 ` Mark Brown 1 sibling, 1 reply; 5+ messages in thread From: Charles Keepax @ 2015-11-02 9:18 UTC (permalink / raw) To: Zidan Wang; +Cc: alsa-devel, broonie, patches On Mon, Nov 02, 2015 at 04:44:04PM +0800, Zidan Wang wrote: > Hi Mark, > > In wm8960 codec driver, suspend_bias_off has been enabled. So when system suspend, the wm8960 codec will go to bias off, > it will disable VMID and VREF, then sleep 600ms. It seems that 600ms is too long for system suspend. > > Because the wm8960 datasheet don't mentioned the sleep time, so i want to check with you if we can shorten the sleep time. I can't say that I am explicit familiar with the required delay there, but the comment in the code says that we are letting VMID and VREF discharge, which I certainly could believe would take a while. My guess would be that we likely weren't super excited about putting a 600mS delay in, which probably means it was necessary for some reason. How much where you hoping to reduce it by? I can see if I can find a hardware engineer who still remembers enough about the part to discuss it with. Thanks, Charles ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: wm8960 sleep time is too long when system suspend 2015-11-02 9:18 ` Charles Keepax @ 2015-11-02 10:49 ` Zidan Wang 2015-11-02 11:16 ` Mark Brown 0 siblings, 1 reply; 5+ messages in thread From: Zidan Wang @ 2015-11-02 10:49 UTC (permalink / raw) To: Charles Keepax; +Cc: alsa-devel, broonie, patches On Mon, Nov 02, 2015 at 09:18:55AM +0000, Charles Keepax wrote: > On Mon, Nov 02, 2015 at 04:44:04PM +0800, Zidan Wang wrote: > > Hi Mark, > > > > In wm8960 codec driver, suspend_bias_off has been enabled. So when system suspend, the wm8960 codec will go to bias off, > > it will disable VMID and VREF, then sleep 600ms. It seems that 600ms is too long for system suspend. > > > > Because the wm8960 datasheet don't mentioned the sleep time, so i want to check with you if we can shorten the sleep time. > > I can't say that I am explicit familiar with the required delay > there, but the comment in the code says that we are letting VMID > and VREF discharge, which I certainly could believe would take a > while. My guess would be that we likely weren't super excited > about putting a 600mS delay in, which probably means it was > necessary for some reason. > > How much where you hoping to reduce it by? I can see if I can > find a hardware engineer who still remembers enough about the > part to discuss it with. > Some customer can't accept such long system suspend time. It's better to spend less than 100ms for system suspend. Codec suspend is a part of system suspend, so it should be less than 100ms, and as short as possible. Best Regards, Zidan Wang > Thanks, > Charles ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: wm8960 sleep time is too long when system suspend 2015-11-02 10:49 ` Zidan Wang @ 2015-11-02 11:16 ` Mark Brown 0 siblings, 0 replies; 5+ messages in thread From: Mark Brown @ 2015-11-02 11:16 UTC (permalink / raw) To: Zidan Wang; +Cc: Charles Keepax, patches, alsa-devel [-- Attachment #1.1: Type: text/plain, Size: 540 bytes --] On Mon, Nov 02, 2015 at 06:49:23PM +0800, Zidan Wang wrote: > Some customer can't accept such long system suspend time. It's better > to spend less than 100ms for system suspend. Codec suspend is a part > of system suspend, so it should be less than 100ms, and as short as > possible. Users need to be realistic about the performance they can expect with older devices. Systems that need fast power on/off times should be using ground referenced CODECs, fundamentally ramping VMID quickly is incompatible with avoiding pops and clicks. [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 473 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: wm8960 sleep time is too long when system suspend 2015-11-02 8:44 wm8960 sleep time is too long when system suspend Zidan Wang 2015-11-02 9:18 ` Charles Keepax @ 2015-11-02 11:12 ` Mark Brown 1 sibling, 0 replies; 5+ messages in thread From: Mark Brown @ 2015-11-02 11:12 UTC (permalink / raw) To: Zidan Wang; +Cc: ckeepax, patches, alsa-devel [-- Attachment #1.1: Type: text/plain, Size: 739 bytes --] On Mon, Nov 02, 2015 at 04:44:04PM +0800, Zidan Wang wrote: > Hi Mark, Please fix your mail client to word wrap within paragraphs at something substantially less than 80 columns. Doing this makes your messages much easier to read and reply to. > In wm8960 codec driver, suspend_bias_off has been enabled. So when > system suspend, the wm8960 codec will go to bias off, it will disable > VMID and VREF, then sleep 600ms. It seems that 600ms is too long for > system suspend. > Because the wm8960 datasheet don't mentioned the sleep time, so i want > to check with you if we can shorten the sleep time. These times are totally normal for a VMID referenced CODEC like the wm8960, attempting to ramp faster produces audible artifacting. [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 473 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-02 11:16 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-11-02 8:44 wm8960 sleep time is too long when system suspend Zidan Wang 2015-11-02 9:18 ` Charles Keepax 2015-11-02 10:49 ` Zidan Wang 2015-11-02 11:16 ` Mark Brown 2015-11-02 11:12 ` Mark Brown
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.