- Timestamp:
- Apr 14, 2021, 11:24:06 AM (5 years ago)
- Location:
- GPL/branches/uniaud32-next/alsa-kernel
- Files:
-
- 7 edited
-
drivers/aloop.c (modified) (2 diffs)
-
hda/intel-nhlt.c (modified) (1 diff)
-
include/sound/version.h (modified) (1 diff)
-
pci/hda/hda_generic.c (modified) (1 diff)
-
pci/hda/hda_intel.c (modified) (2 diffs)
-
pci/hda/patch_conexant.c (modified) (1 diff)
-
pci/hda/patch_realtek.c (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/alsa-kernel/drivers/aloop.c
r629 r684 1573 1573 kctl->id.device = dev; 1574 1574 kctl->id.subdevice = substr; 1575 1576 /* Add the control before copying the id so that 1577 * the numid field of the id is set in the copy. 1578 */ 1579 err = snd_ctl_add(card, kctl); 1580 if (err < 0) 1581 return err; 1582 1575 1583 switch (idx) { 1576 1584 case ACTIVE_IDX: … … 1589 1597 break; 1590 1598 } 1591 err = snd_ctl_add(card, kctl);1592 if (err < 0)1593 return err;1594 1599 } 1595 1600 } -
GPL/branches/uniaud32-next/alsa-kernel/hda/intel-nhlt.c
r682 r684 39 39 if (!nhlt) 40 40 return 0; 41 42 if (nhlt->header.length <= sizeof(struct acpi_table_header)) { 43 dev_warn(dev, "Invalid DMIC description table\n"); 44 return 0; 45 } 41 46 42 47 for (j = 0, epnt = nhlt->desc; j < nhlt->endpoint_count; j++, -
GPL/branches/uniaud32-next/alsa-kernel/include/sound/version.h
r682 r684 1 1 /* include/version.h */ 2 #define CONFIG_SND_VERSION "5.10. 25"2 #define CONFIG_SND_VERSION "5.10.30" 3 3 #define CONFIG_SND_DATE "" -
GPL/branches/uniaud32-next/alsa-kernel/pci/hda/hda_generic.c
r637 r684 4077 4077 spec->micmute_led.led_mode = MICMUTE_LED_FOLLOW_MUTE; 4078 4078 spec->micmute_led.capture = 0; 4079 spec->micmute_led.led_value = 0;4079 spec->micmute_led.led_value = -1; 4080 4080 spec->micmute_led.old_hook = spec->cap_sync_hook; 4081 4081 spec->cap_sync_hook = update_micmute_led; -
GPL/branches/uniaud32-next/alsa-kernel/pci/hda/hda_intel.c
r682 r684 1051 1051 struct azx *chip; 1052 1052 1053 if (!azx_is_pm_ready(card)) 1054 return 0; 1055 1053 1056 chip = card->private_data; 1054 1057 chip->pm_prepared = 1; 1058 snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); 1055 1059 1056 1060 flush_work(&azx_bus(chip)->unsol_work); … … 1067 1071 struct azx *chip; 1068 1072 1073 if (!azx_is_pm_ready(card)) 1074 return; 1075 1069 1076 chip = card->private_data; 1077 snd_power_change_state(card, SNDRV_CTL_POWER_D0); 1070 1078 chip->pm_prepared = 0; 1071 1079 } -
GPL/branches/uniaud32-next/alsa-kernel/pci/hda/patch_conexant.c
r682 r684 1005 1005 SND_PCI_QUIRK(0x103c, 0x8402, "HP ProBook 645 G4", CXT_FIXUP_MUTE_LED_GPIO), 1006 1006 SND_PCI_QUIRK(0x103c, 0x8427, "HP ZBook Studio G5", CXT_FIXUP_HP_ZBOOK_MUTE_LED), 1007 SND_PCI_QUIRK(0x103c, 0x844f, "HP ZBook Studio G5", CXT_FIXUP_HP_ZBOOK_MUTE_LED), 1007 1008 SND_PCI_QUIRK(0x103c, 0x8455, "HP Z2 G4", CXT_FIXUP_HP_MIC_NO_PRESENCE), 1008 1009 SND_PCI_QUIRK(0x103c, 0x8456, "HP Z2 G4 SFF", CXT_FIXUP_HP_MIC_NO_PRESENCE), -
GPL/branches/uniaud32-next/alsa-kernel/pci/hda/patch_realtek.c
r682 r684 4572 4572 } 4573 4573 4574 /* Fix the speaker amp after resume, etc */ 4575 static void alc269vb_fixup_aspire_e1_coef(struct hda_codec *codec, 4576 const struct hda_fixup *fix, 4577 int action) 4578 { 4579 if (action == HDA_FIXUP_ACT_INIT) 4580 alc_update_coef_idx(codec, 0x0d, 0x6000, 0x6000); 4581 } 4582 4574 4583 static void alc269_fixup_pcm_44k(struct hda_codec *codec, 4575 4584 const struct hda_fixup *fix, int action) … … 4880 4889 #endif 4881 4890 } 4891 } 4892 4893 static void alc236_fixup_hp_gpio_led(struct hda_codec *codec, 4894 const struct hda_fixup *fix, int action) 4895 { 4896 alc_fixup_hp_gpio_led(codec, action, 0x02, 0x01); 4882 4897 } 4883 4898 … … 5932 5947 case 0x10ec0294: 5933 5948 alc_process_coef_fw(codec, coef0274); 5934 msleep(8 0);5949 msleep(850); 5935 5950 val = alc_read_coef_idx(codec, 0x46); 5936 5951 is_ctia = (val & 0x00f0) == 0x00f0; … … 6116 6131 { 6117 6132 snd_hda_gen_hp_automute(codec, jack); 6133 alc_update_headset_mode(codec); 6118 6134 } 6119 6135 … … 6981 6997 ALC255_FIXUP_MIC_MUTE_LED, 6982 6998 ALC282_FIXUP_ASPIRE_V5_PINS, 6999 ALC269VB_FIXUP_ASPIRE_E1_COEF, 6983 7000 ALC280_FIXUP_HP_GPIO4, 6984 7001 ALC286_FIXUP_HP_GPIO_LED, … … 7068 7085 ALC285_FIXUP_HP_GPIO_LED, 7069 7086 ALC285_FIXUP_HP_MUTE_LED, 7087 ALC236_FIXUP_HP_GPIO_LED, 7070 7088 ALC236_FIXUP_HP_MUTE_LED, 7071 7089 ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET, … … 7943 7961 }, 7944 7962 #endif 7963 [ALC269VB_FIXUP_ASPIRE_E1_COEF] = { 7964 .type = HDA_FIXUP_FUNC, 7965 .v.func = alc269vb_fixup_aspire_e1_coef, 7966 }, 7945 7967 [ALC280_FIXUP_HP_GPIO4] = { 7946 7968 .type = HDA_FIXUP_FUNC, … … 8624 8646 .v.func = alc285_fixup_hp_mute_led, 8625 8647 }, 8648 [ALC236_FIXUP_HP_GPIO_LED] = { 8649 .type = HDA_FIXUP_FUNC, 8650 .v.func = alc236_fixup_hp_gpio_led, 8651 }, 8626 8652 [ALC236_FIXUP_HP_MUTE_LED] = { 8627 8653 .type = HDA_FIXUP_FUNC, … … 8883 8909 SND_PCI_QUIRK(0x1025, 0x0775, "Acer Aspire E1-572", ALC271_FIXUP_HP_GATE_MIC_JACK_E1_572), 8884 8910 SND_PCI_QUIRK(0x1025, 0x079b, "Acer Aspire V5-573G", ALC282_FIXUP_ASPIRE_V5_PINS), 8911 SND_PCI_QUIRK(0x1025, 0x0840, "Acer Aspire E1", ALC269VB_FIXUP_ASPIRE_E1_COEF), 8885 8912 SND_PCI_QUIRK(0x1025, 0x101c, "Acer Veriton N2510G", ALC269_FIXUP_LIFEBOOK), 8886 8913 SND_PCI_QUIRK(0x1025, 0x102b, "Acer Aspire C24-860", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE), … … 9039 9066 ALC285_FIXUP_HP_GPIO_AMP_INIT), 9040 9067 SND_PCI_QUIRK(0x103c, 0x87c8, "HP", ALC287_FIXUP_HP_GPIO_LED), 9068 SND_PCI_QUIRK(0x103c, 0x87e5, "HP ProBook 440 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED), 9069 SND_PCI_QUIRK(0x103c, 0x87f2, "HP ProBook 640 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED), 9041 9070 SND_PCI_QUIRK(0x103c, 0x87f4, "HP", ALC287_FIXUP_HP_GPIO_LED), 9042 9071 SND_PCI_QUIRK(0x103c, 0x87f5, "HP", ALC287_FIXUP_HP_GPIO_LED), 9043 9072 SND_PCI_QUIRK(0x103c, 0x87f7, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP), 9073 SND_PCI_QUIRK(0x103c, 0x8846, "HP EliteBook 850 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), 9074 SND_PCI_QUIRK(0x103c, 0x884c, "HP EliteBook 840 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), 9044 9075 SND_PCI_QUIRK(0x1043, 0x103e, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC), 9045 9076 SND_PCI_QUIRK(0x1043, 0x103f, "ASUS TX300", ALC282_FIXUP_ASUS_TX300), … … 9236 9267 SND_PCI_QUIRK(0x1b7d, 0xa831, "Ordissimo EVE2 ", ALC269VB_FIXUP_ORDISSIMO_EVE2), /* Also known as Malata PC-B1303 */ 9237 9268 SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC), 9269 SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE), 9238 9270 SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC), 9271 SND_PCI_QUIRK(0x1d72, 0x1947, "RedmiBook Air", ALC255_FIXUP_XIAOMI_HEADSET_MIC), 9239 9272 SND_PCI_QUIRK(0x10ec, 0x118c, "Medion EE4254 MD62100", ALC256_FIXUP_MEDION_HEADSET_NO_PRESENCE), 9240 9273 SND_PCI_QUIRK(0x1c06, 0x2013, "Lemote A1802", ALC269_FIXUP_LEMOTE_A1802), … … 9371 9404 {.id = ALC255_FIXUP_MIC_MUTE_LED, .name = "alc255-dell-mute"}, 9372 9405 {.id = ALC282_FIXUP_ASPIRE_V5_PINS, .name = "aspire-v5"}, 9406 {.id = ALC269VB_FIXUP_ASPIRE_E1_COEF, .name = "aspire-e1-coef"}, 9373 9407 {.id = ALC280_FIXUP_HP_GPIO4, .name = "hp-gpio4"}, 9374 9408 {.id = ALC286_FIXUP_HP_GPIO_LED, .name = "hp-gpio-led"},
Note:
See TracChangeset
for help on using the changeset viewer.
