All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: David Henningsson <david.henningsson@canonical.com>
Cc: alsa-devel@alsa-project.org, 886975@bugs.launchpad.net
Subject: Re: [PATCH] ALSA: hda - Remove speaker clicks on CX20549
Date: Thu, 14 Feb 2013 12:00:19 +0100	[thread overview]
Message-ID: <s5hd2w3upmk.wl%tiwai@suse.de> (raw)
In-Reply-To: <1360838199-3906-1-git-send-email-david.henningsson@canonical.com>

At Thu, 14 Feb 2013 11:36:39 +0100,
David Henningsson wrote:
> 
> This chip needs the speaker pin to go to D3 to avoid clicks,
> so default_power_filter does not work here.
> 
> This was found on Thinkpad R61i/T61i but I guess it applies to
> the entire chip. If not, quirks should be set for at least
> PCI SSID 17aa:20ac.
> 
> Thanks to c4pp4 for testing.
> 
> BugLink: https://bugs.launchpad.net/bugs/886975
> Signed-off-by: David Henningsson <david.henningsson@canonical.com>

Thanks, applied now.

Just wonder, though, whether rather setting
spec->gen.power_down_unused = 1 works.  When it's set, the generic
parser applies the own power filter, and it doesn't have the EAPD
check either (plus it does more aggressive power-down of unused
widgets).

Or, maybe we just drop the EAPD check, and move it to specific fixup.
AFAIK, it was required only for old Gateway laptops.


Takashi

> ---
>  sound/pci/hda/patch_conexant.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
> index 7d941ef..941bf6c 100644
> --- a/sound/pci/hda/patch_conexant.c
> +++ b/sound/pci/hda/patch_conexant.c
> @@ -3350,6 +3350,7 @@ static int patch_conexant_auto(struct hda_codec *codec)
>  	switch (codec->vendor_id) {
>  	case 0x14f15045:
>  		codec->single_adc_amp = 1;
> +		codec->power_filter = NULL; /* Needs speaker amp to D3 to avoid click */
>  		break;
>  	case 0x14f15047:
>  		codec->pin_amp_workaround = 1;
> -- 
> 1.7.9.5
> 

  reply	other threads:[~2013-02-14 11:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14 10:36 [PATCH] ALSA: hda - Remove speaker clicks on CX20549 David Henningsson
2013-02-14 11:00 ` Takashi Iwai [this message]
2013-02-18  9:22   ` David Henningsson
2013-02-18  9:28     ` Takashi Iwai
2013-02-18  9:40       ` David Henningsson
2013-02-18  9:45         ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hd2w3upmk.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=886975@bugs.launchpad.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=david.henningsson@canonical.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.