diff options
author | Dave Airlie <airlied@redhat.com> | 2017-05-30 01:54:15 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-05-30 01:54:15 -0400 |
commit | 2a1720376adda5ecf8e636fbfb05339c7dad1c55 (patch) | |
tree | cdb76abac82306516aa556d9e9ddb15571f07517 /sound | |
parent | a82256bc026722800d1fdeca5521f1ba487bc2ef (diff) | |
parent | 5ed02dbb497422bf225783f46e6eadd237d23d6b (diff) |
Backmerge tag 'v4.12-rc3' into drm-next
Linux 4.12-rc3
Daniel has requested this for some drm-intel-next work.
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 7 | ||||
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 2 | ||||
-rw-r--r-- | sound/usb/quirks.c | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 58df440013c5..918e45268915 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -2328,6 +2328,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = { | |||
2328 | SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3), | 2328 | SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3), |
2329 | SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte EP45-DS3/Z87X-UD3H", ALC889_FIXUP_FRONT_HP_NO_PRESENCE), | 2329 | SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte EP45-DS3/Z87X-UD3H", ALC889_FIXUP_FRONT_HP_NO_PRESENCE), |
2330 | SND_PCI_QUIRK(0x1458, 0xa0b8, "Gigabyte AZ370-Gaming", ALC1220_FIXUP_GB_DUAL_CODECS), | 2330 | SND_PCI_QUIRK(0x1458, 0xa0b8, "Gigabyte AZ370-Gaming", ALC1220_FIXUP_GB_DUAL_CODECS), |
2331 | SND_PCI_QUIRK(0x1462, 0xda57, "MSI Z270-Gaming", ALC1220_FIXUP_GB_DUAL_CODECS), | ||
2331 | SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", ALC882_FIXUP_ABIT_AW9D_MAX), | 2332 | SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", ALC882_FIXUP_ABIT_AW9D_MAX), |
2332 | SND_PCI_QUIRK_VENDOR(0x1558, "Clevo laptop", ALC882_FIXUP_EAPD), | 2333 | SND_PCI_QUIRK_VENDOR(0x1558, "Clevo laptop", ALC882_FIXUP_EAPD), |
2333 | SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_FIXUP_EAPD), | 2334 | SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_FIXUP_EAPD), |
@@ -2342,6 +2343,7 @@ static const struct hda_model_fixup alc882_fixup_models[] = { | |||
2342 | {.id = ALC883_FIXUP_ACER_EAPD, .name = "acer-aspire"}, | 2343 | {.id = ALC883_FIXUP_ACER_EAPD, .name = "acer-aspire"}, |
2343 | {.id = ALC882_FIXUP_INV_DMIC, .name = "inv-dmic"}, | 2344 | {.id = ALC882_FIXUP_INV_DMIC, .name = "inv-dmic"}, |
2344 | {.id = ALC882_FIXUP_NO_PRIMARY_HP, .name = "no-primary-hp"}, | 2345 | {.id = ALC882_FIXUP_NO_PRIMARY_HP, .name = "no-primary-hp"}, |
2346 | {.id = ALC1220_FIXUP_GB_DUAL_CODECS, .name = "dual-codecs"}, | ||
2345 | {} | 2347 | {} |
2346 | }; | 2348 | }; |
2347 | 2349 | ||
@@ -6014,6 +6016,7 @@ static const struct hda_model_fixup alc269_fixup_models[] = { | |||
6014 | {.id = ALC292_FIXUP_TPT440_DOCK, .name = "tpt440-dock"}, | 6016 | {.id = ALC292_FIXUP_TPT440_DOCK, .name = "tpt440-dock"}, |
6015 | {.id = ALC292_FIXUP_TPT440, .name = "tpt440"}, | 6017 | {.id = ALC292_FIXUP_TPT440, .name = "tpt440"}, |
6016 | {.id = ALC292_FIXUP_TPT460, .name = "tpt460"}, | 6018 | {.id = ALC292_FIXUP_TPT460, .name = "tpt460"}, |
6019 | {.id = ALC233_FIXUP_LENOVO_MULTI_CODECS, .name = "dual-codecs"}, | ||
6017 | {} | 6020 | {} |
6018 | }; | 6021 | }; |
6019 | #define ALC225_STANDARD_PINS \ | 6022 | #define ALC225_STANDARD_PINS \ |
@@ -6465,8 +6468,11 @@ static int patch_alc269(struct hda_codec *codec) | |||
6465 | break; | 6468 | break; |
6466 | case 0x10ec0225: | 6469 | case 0x10ec0225: |
6467 | case 0x10ec0295: | 6470 | case 0x10ec0295: |
6471 | spec->codec_variant = ALC269_TYPE_ALC225; | ||
6472 | break; | ||
6468 | case 0x10ec0299: | 6473 | case 0x10ec0299: |
6469 | spec->codec_variant = ALC269_TYPE_ALC225; | 6474 | spec->codec_variant = ALC269_TYPE_ALC225; |
6475 | spec->gen.mixer_nid = 0; /* no loopback on ALC299 */ | ||
6470 | break; | 6476 | break; |
6471 | case 0x10ec0234: | 6477 | case 0x10ec0234: |
6472 | case 0x10ec0274: | 6478 | case 0x10ec0274: |
@@ -7338,6 +7344,7 @@ static const struct hda_model_fixup alc662_fixup_models[] = { | |||
7338 | {.id = ALC662_FIXUP_ASUS_MODE8, .name = "asus-mode8"}, | 7344 | {.id = ALC662_FIXUP_ASUS_MODE8, .name = "asus-mode8"}, |
7339 | {.id = ALC662_FIXUP_INV_DMIC, .name = "inv-dmic"}, | 7345 | {.id = ALC662_FIXUP_INV_DMIC, .name = "inv-dmic"}, |
7340 | {.id = ALC668_FIXUP_DELL_MIC_NO_PRESENCE, .name = "dell-headset-multi"}, | 7346 | {.id = ALC668_FIXUP_DELL_MIC_NO_PRESENCE, .name = "dell-headset-multi"}, |
7347 | {.id = ALC662_FIXUP_LENOVO_MULTI_CODECS, .name = "dual-codecs"}, | ||
7341 | {} | 7348 | {} |
7342 | }; | 7349 | }; |
7343 | 7350 | ||
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index faa3d38bac0b..6cefdf6c0b75 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -1559,6 +1559,8 @@ static const struct snd_pci_quirk stac9200_fixup_tbl[] = { | |||
1559 | "Dell Inspiron 1501", STAC_9200_DELL_M26), | 1559 | "Dell Inspiron 1501", STAC_9200_DELL_M26), |
1560 | SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01f6, | 1560 | SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x01f6, |
1561 | "unknown Dell", STAC_9200_DELL_M26), | 1561 | "unknown Dell", STAC_9200_DELL_M26), |
1562 | SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0201, | ||
1563 | "Dell Latitude D430", STAC_9200_DELL_M22), | ||
1562 | /* Panasonic */ | 1564 | /* Panasonic */ |
1563 | SND_PCI_QUIRK(0x10f7, 0x8338, "Panasonic CF-74", STAC_9200_PANASONIC), | 1565 | SND_PCI_QUIRK(0x10f7, 0x8338, "Panasonic CF-74", STAC_9200_PANASONIC), |
1564 | /* Gateway machines needs EAPD to be set on resume */ | 1566 | /* Gateway machines needs EAPD to be set on resume */ |
diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 01eff6ce6401..d7b0b0a3a2db 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c | |||
@@ -1364,7 +1364,7 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip, | |||
1364 | /* Amanero Combo384 USB interface with native DSD support */ | 1364 | /* Amanero Combo384 USB interface with native DSD support */ |
1365 | case USB_ID(0x16d0, 0x071a): | 1365 | case USB_ID(0x16d0, 0x071a): |
1366 | if (fp->altsetting == 2) { | 1366 | if (fp->altsetting == 2) { |
1367 | switch (chip->dev->descriptor.bcdDevice) { | 1367 | switch (le16_to_cpu(chip->dev->descriptor.bcdDevice)) { |
1368 | case 0x199: | 1368 | case 0x199: |
1369 | return SNDRV_PCM_FMTBIT_DSD_U32_LE; | 1369 | return SNDRV_PCM_FMTBIT_DSD_U32_LE; |
1370 | case 0x19b: | 1370 | case 0x19b: |