aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 738d5d8962d0..f13920e53847 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -19366,7 +19366,10 @@ static void alc662_auto_init(struct hda_codec *codec)
19366} 19366}
19367 19367
19368static void alc272_fixup_mario(struct hda_codec *codec, 19368static void alc272_fixup_mario(struct hda_codec *codec,
19369 const struct alc_fixup *fix, int pre_init) { 19369 const struct alc_fixup *fix, int pre_init)
19370{
19371 if (!pre_init)
19372 return;
19370 if (snd_hda_override_amp_caps(codec, 0x2, HDA_OUTPUT, 19373 if (snd_hda_override_amp_caps(codec, 0x2, HDA_OUTPUT,
19371 (0x3b << AC_AMPCAP_OFFSET_SHIFT) | 19374 (0x3b << AC_AMPCAP_OFFSET_SHIFT) |
19372 (0x3b << AC_AMPCAP_NUM_STEPS_SHIFT) | 19375 (0x3b << AC_AMPCAP_NUM_STEPS_SHIFT) |