From: Takashi Iwai <tiwai@suse.de>
To: Martin Kepplinger <martink@posteo.de>
Cc: perex@perex.cz, david.henningsson@canonical.com,
hui.wang@canonical.com, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org
Subject: Re: [BUG]3.14-rc2 [PATCH] Revert "ALSA: hda/realtek - Avoid invalid COEFs for ALC271X"
Date: Wed, 12 Feb 2014 17:20:21 +0100 [thread overview]
Message-ID: <s5h4n445mm2.wl%tiwai@suse.de> (raw)
In-Reply-To: <1392221363-5447-1-git-send-email-martink@posteo.de>
At Wed, 12 Feb 2014 17:09:23 +0100,
Martin Kepplinger wrote:
>
> This reverts commit d3c56568f43807135f2c2a09582a69f809f0d8b7.
>
> The reverted commit breaks audio through headphone line out on
> the Acer TravelMate B113 (Type1Sku0) Notebook, my main work
> machine. I don't know much about it but this fixes my problem.
> Bisected and tested.
>
> Tested-by: Martin Kepplinger <martink@posteo.de>
> Signed-off-by: Martin Kepplinger <martink@posteo.de>
Too bad, we need COEF for some machine but it breaks for some.
Since reverting breaks obviously another machine, we need a different
approach, e.g. checking the machine ID. Please give alsa-info.sh
output of your machine.
thanks,
Takashi
> ---
> sound/pci/hda/patch_realtek.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index d9693ca..0f5af34 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -4434,9 +4434,6 @@ static void alc269_fill_coef(struct hda_codec *codec)
>
> if (spec->codec_variant != ALC269_TYPE_ALC269VB)
> return;
> - /* ALC271X doesn't seem to support these COEFs (bko#52181) */
> - if (!strcmp(codec->chip_name, "ALC271X"))
> - return;
>
> if ((alc_get_coef0(codec) & 0x00ff) < 0x015) {
> alc_write_coef_idx(codec, 0xf, 0x960b);
> --
> 1.7.10.4
>
next prev parent reply other threads:[~2014-02-12 16:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 16:09 Martin Kepplinger
2014-02-12 16:20 ` Takashi Iwai [this message]
2014-02-12 16:45 ` Takashi Iwai
2014-02-12 18:31 ` Martin Kepplinger
2014-02-12 18:58 ` 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=s5h4n445mm2.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=david.henningsson@canonical.com \
--cc=hui.wang@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=martink@posteo.de \
--cc=perex@perex.cz \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®