summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-06-26 17:56:41 +0300
committerTakashi Iwai <tiwai@suse.de>2018-06-26 19:07:28 +0300
commit03bf11c934c3ced43aa9be3cfb93962ab15d737b (patch)
tree2f793547bf8d220fa76c669393fa92d54b24dd67
parenta26d96c7802e09473d5997791829774ba4f7e867 (diff)
downloadlinux-03bf11c934c3ced43aa9be3cfb93962ab15d737b.tar.xz
ALSA: hda/realtek - Comprehensive model list for ALC268
Add the missing entry for ALC268 model strings. Only "spdif" was missing, and that's it. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--Documentation/sound/hd-audio/models.rst2
-rw-r--r--sound/pci/hda/patch_realtek.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/sound/hd-audio/models.rst b/Documentation/sound/hd-audio/models.rst
index a403a7f34a78..323c25c53eaf 100644
--- a/Documentation/sound/hd-audio/models.rst
+++ b/Documentation/sound/hd-audio/models.rst
@@ -41,6 +41,8 @@ inv-dmic
Inverted internal mic workaround
hp-eapd
Disable HP EAPD on NID 0x15
+spdif
+ Enable SPDIF output on NID 0x1e
ALC22x/23x/25x/269/27x/28x/29x (and vendor-specific ALC3xxx models)
===================================================================
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index a0828befe62a..74540e0fa19d 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -2688,6 +2688,7 @@ static const struct hda_fixup alc268_fixups[] = {
static const struct hda_model_fixup alc268_fixup_models[] = {
{.id = ALC268_FIXUP_INV_DMIC, .name = "inv-dmic"},
{.id = ALC268_FIXUP_HP_EAPD, .name = "hp-eapd"},
+ {.id = ALC268_FIXUP_SPDIF, .name = "spdif"},
{}
};