Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1162916
| Path | csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Mihai Donțu <mihai.dontu@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: Audio crackles with 4.1-rc1 |
| Date | Thu, 11 Jun 2015 00:20:02 +0200 |
| Message-ID | <pzWvM-2SP-9@gated-at.bofh.it> (permalink) |
| References | <pkdqW-5C0-33@gated-at.bofh.it> <pkeZJ-7Ow-51@gated-at.bofh.it> <pkylI-2Vd-23@gated-at.bofh.it> <pkyOM-3uq-33@gated-at.bofh.it> <pkYga-7GO-11@gated-at.bofh.it> <pl08i-20q-23@gated-at.bofh.it> <plHdh-741-31@gated-at.bofh.it> <prJ2G-66N-9@gated-at.bofh.it> <prSpj-3mR-11@gated-at.bofh.it> <prTbJ-4yl-23@gated-at.bofh.it> <prXIm-2Ai-17@gated-at.bofh.it> <ps4qt-4rk-7@gated-at.bofh.it> <pzLh0-37I-1@gated-at.bofh.it> <pzLqH-3iD-41@gated-at.bofh.it> <pzLK2-3J0-13@gated-at.bofh.it> <pzLTI-3UB-9@gated-at.bofh.it> <pzMG6-55R-1@gated-at.bofh.it> <pzNsu-6h5-11@gated-at.bofh.it> <pzNLQ-6Ep-9@gated-at.bofh.it> <pzR34-3fM-25@gated-at.bofh.it> <pzR36-3fM-47@gated-at.bofh.it> <pzRmp-3Dn-1@gated-at.bofh.it> <pzSVb-5ZW-1@gated-at.bofh.it> |
| X-Original-To | Takashi Iwai <tiwai@suse.de> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-type:content-transfer-encoding; bh=+R1jDC+T5d9PIhdfNILA5fkrFgMJjXQoL4BBBNaBm+U=; b=z6YN7ixmVFF975ActhYafkFwKp6ynlDpfj6DbagAs+i3Gsp419Sg+Z4lCJ07RYCwkc 1Tx/m8LWoEsMqAgcp0dKtSJVKFEuyzA2M2Yad4Zy+fBaGSHOB9M3k88sdZJXKV/Ngl7r RsfZHkrmgCQ0n6F5zJDQkSfCxNjWDC21/H97iutEbnLJ16kc382cLS24XTGfovtbd0ft dEzLSIzCDbClPTwB/xe3OR0l6ZTcFhylxMcRV8JSCrblbMOCyJE9Ad7TqeZac+73zwfZ QmTbIw1m4hSaesma5JZnIIvCLCabaXb1EQ+qxWoGK03de0UeTK+jAETLrl0xrhCE2PhF C+mA== |
| X-Received | by 10.180.37.230 with SMTP id b6mr12875467wik.14.1433974358055; Wed, 10 Jun 2015 15:12:38 -0700 (PDT) |
| Organization | Home |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8BIT |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 52 |
| X-Original-Cc | Jonathan McDowell <noodles@earth.li>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Thu, 11 Jun 2015 01:12:36 +0300 |
| X-Original-Message-ID | <20150611011236.53bcd1fd@mdontu-l> |
| X-Original-References | <s5hpp6ov1wv.wl-tiwai@suse.de> <s5ha8xsuxe3.wl-tiwai@suse.de> <20150429112859.GY10148@earth.li> <s5h4mnzgne6.wl-tiwai@suse.de> <20150430150131.GA10148@earth.li> <s5hd22l7dgo.wl-tiwai@suse.de> <20150502150513.GF10148@earth.li> <s5hk2w514aj.wl-tiwai@suse.de> <20150519161911.GD28070@earth.li> <s5hr3qctryf.wl-tiwai@suse.de> <20150519215310.GF28070@earth.li> <s5hd21vu9k7.wl-tiwai@suse.de> <20150610131755.0b906783@mdontu-l.dsd.bitdefender.biz> <s5h4mmfooaq.wl-tiwai@suse.de> <20150610134135.327e2bdc@mdontu-l.dsd.bitdefender.biz> <s5hvbevn8gh.wl-tiwai@suse.de> <20150610144551.4578ee99@mdontu-l.dsd.bitdefender.biz> <s5hpp53n3o9.wl-tiwai@suse.de> <s5hlhfrn2w9.wl-tiwai@suse.de> <20150610192202.0e987fd0@mdontu-l.dsd.bitdefender.biz> <s5hr3pjleac.wl-tiwai@suse.de> <20150610194303.3b82609d@mdontu-l.dsd.bitdefender.biz> <s5hy4jr8ltm.wl-tiwai@suse.de> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1162916 |
Show key headers only | View raw
On Wed, 10 Jun 2015 20:23:01 +0200 Takashi Iwai wrote: > From: Takashi Iwai <tiwai@suse.de> > Subject: [PATCH] ALSA: hda - Reduce click noise at power up > > Some machines suffer from click noises at power up with the recent > kernels, and this seems triggered at the power transition and the > immediate verb executions. As a workaround, put a short delay (10ms) > right after the D0 transition. > > There are a few places that have the same kind of delays, especially > in the resume path. I guess they can be removed (or reduced) after > this patch. But, since the delay is relatively small, let's do it > later as a cleanup. > > Reported-by: Mihai Donțu <mihai.dontu@gmail.com> > Signed-off-by: Takashi Iwai <tiwai@suse.de> > --- > sound/pci/hda/hda_codec.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c > index b7782212dd64..38f5509ee52f 100644 > --- a/sound/pci/hda/hda_codec.c > +++ b/sound/pci/hda/hda_codec.c > @@ -3077,6 +3077,9 @@ static unsigned int hda_set_power_state(struct hda_codec *codec, > break; > } > > + if (power_state == AC_PWRST_D0) > + msleep(10); > + > return state; > } > I take back my previous observations. I was at work and did not have access to headphones (one of those days). Now I'm at home, it's 1 AM, very quiet, and I notice the following: * on speakers: the click reproduces but with _very_ low amplitude; msleep(100) is unnoticeable, but msleep(10) is, barely; * on headphones: the moment I plug them I hear a loud static sound (like an old, untuned AM radio). If I play something, the static disappears. If I pause, the static returns after ~15s. -- Mihai Donțu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: Audio crackles with 4.1-rc1 Mihai Donțu <mihai.dontu@gmail.com> - 2015-06-11 00:20 +0200
csiph-web