Skip to content

Commit 31447eb

Browse files
gm-vmgregkh
authored andcommitted
ALSA: hda - Apply ALC269_FIXUP_NO_SHUTUP on HDA_FIXUP_ACT_PROBE
[ Upstream commit 972aa2c708703c21f14eb958b37e82aae2530e44 ] 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> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 7e92056 commit 31447eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/pci/hda/patch_realtek.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4404,7 +4404,7 @@ static void alc_no_shutup(struct hda_codec *codec)
44044404
static void alc_fixup_no_shutup(struct hda_codec *codec,
44054405
const struct hda_fixup *fix, int action)
44064406
{
4407-
if (action == HDA_FIXUP_ACT_PRE_PROBE) {
4407+
if (action == HDA_FIXUP_ACT_PROBE) {
44084408
struct alc_spec *spec = codec->spec;
44094409
spec->shutup = alc_no_shutup;
44104410
}

0 commit comments

Comments
 (0)