aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index a8e82be3d2fc..9350f3c3bdf8 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1855,6 +1855,8 @@ static const char * const alc_slave_vols[] = {
1855 "Speaker Playback Volume", 1855 "Speaker Playback Volume",
1856 "Mono Playback Volume", 1856 "Mono Playback Volume",
1857 "Line-Out Playback Volume", 1857 "Line-Out Playback Volume",
1858 "CLFE Playback Volume",
1859 "Bass Speaker Playback Volume",
1858 "PCM Playback Volume", 1860 "PCM Playback Volume",
1859 NULL, 1861 NULL,
1860}; 1862};
@@ -1870,6 +1872,8 @@ static const char * const alc_slave_sws[] = {
1870 "Mono Playback Switch", 1872 "Mono Playback Switch",
1871 "IEC958 Playback Switch", 1873 "IEC958 Playback Switch",
1872 "Line-Out Playback Switch", 1874 "Line-Out Playback Switch",
1875 "CLFE Playback Switch",
1876 "Bass Speaker Playback Switch",
1873 "PCM Playback Switch", 1877 "PCM Playback Switch",
1874 NULL, 1878 NULL,
1875}; 1879};
@@ -2318,7 +2322,7 @@ static int alc_build_pcms(struct hda_codec *codec)
2318 "%s Analog", codec->chip_name); 2322 "%s Analog", codec->chip_name);
2319 info->name = spec->stream_name_analog; 2323 info->name = spec->stream_name_analog;
2320 2324
2321 if (spec->multiout.dac_nids > 0) { 2325 if (spec->multiout.num_dacs > 0) {
2322 p = spec->stream_analog_playback; 2326 p = spec->stream_analog_playback;
2323 if (!p) 2327 if (!p)
2324 p = &alc_pcm_analog_playback; 2328 p = &alc_pcm_analog_playback;
@@ -5623,6 +5627,7 @@ static const struct alc_fixup alc861_fixups[] = {
5623 5627
5624static const struct snd_pci_quirk alc861_fixup_tbl[] = { 5628static const struct snd_pci_quirk alc861_fixup_tbl[] = {
5625 SND_PCI_QUIRK_VENDOR(0x1043, "ASUS laptop", PINFIX_ASUS_A6RP), 5629 SND_PCI_QUIRK_VENDOR(0x1043, "ASUS laptop", PINFIX_ASUS_A6RP),
5630 SND_PCI_QUIRK(0x1584, 0x0000, "Uniwill ECS M31EI", PINFIX_ASUS_A6RP),
5626 SND_PCI_QUIRK(0x1584, 0x2b01, "Haier W18", PINFIX_ASUS_A6RP), 5631 SND_PCI_QUIRK(0x1584, 0x2b01, "Haier W18", PINFIX_ASUS_A6RP),
5627 SND_PCI_QUIRK(0x1734, 0x10c7, "FSC Amilo Pi1505", PINFIX_FSC_AMILO_PI1505), 5632 SND_PCI_QUIRK(0x1734, 0x10c7, "FSC Amilo Pi1505", PINFIX_FSC_AMILO_PI1505),
5628 {} 5633 {}