From: Takashi Iwai <tiwai@suse.de>
To: "Gabriele Mazzotta" <gabriele.mzt@gmail.com>
Cc: <perex@perex.cz>, <alsa-devel@alsa-project.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] ALSA: hda - Apply ALC269_FIXUP_NO_SHUTUP on HDA_FIXUP_ACT_PROBE
Date: Wed, 28 Dec 2016 16:14:19 +0100 [thread overview]
Message-ID: <s5hpokculv8.wl-tiwai@suse.de> (raw)
In-Reply-To: <20161224185001.26824-1-gabriele.mzt@gmail.com>
On Sat, 24 Dec 2016 19:50:00 +0100,
Gabriele Mazzotta wrote:
>
> Setting shutup when the action is HDA_FIXUP_ACT_PRE_PROBE might
> not have the desired effect since it could be overridden by
> another more generic shutup function. Prevent this by setting
> the more specific shutup function on HDA_FIXUP_ACT_PROBE.
>
> Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Applied both patches now. Thanks.
Takashi
> ---
> sound/pci/hda/patch_realtek.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index ea81c08ddc7a..d30cc49512e4 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -4400,7 +4400,7 @@ static void alc_no_shutup(struct hda_codec *codec)
> static void alc_fixup_no_shutup(struct hda_codec *codec,
> const struct hda_fixup *fix, int action)
> {
> - if (action == HDA_FIXUP_ACT_PRE_PROBE) {
> + if (action == HDA_FIXUP_ACT_PROBE) {
> struct alc_spec *spec = codec->spec;
> spec->shutup = alc_no_shutup;
> }
> --
> 2.11.0
>
>
prev parent reply other threads:[~2016-12-28 15:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-24 18:50 Gabriele Mazzotta
2016-12-24 18:50 ` [PATCH 2/2] ALSA: hda - Fix click noises on Samsung Ativ Book 8 Gabriele Mazzotta
2016-12-28 15:14 ` Takashi Iwai [this message]
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=s5hpokculv8.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=gabriele.mzt@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--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®