Changeset 696
- Timestamp:
- Sep 8, 2021, 11:26:35 AM (4 years ago)
- Location:
- GPL/branches/uniaud32-next/alsa-kernel
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/alsa-kernel/core/pcm_lib.c
r692 r696 1780 1780 frame_size = snd_pcm_format_size(format, channels); 1781 1781 if (frame_size > 0) 1782 params->fifo_size /= (unsigned)frame_size;1782 params->fifo_size /= frame_size; 1783 1783 } 1784 1784 return 0; -
GPL/branches/uniaud32-next/alsa-kernel/core/pcm_native.c
r694 r696 256 256 switch (substream->dma_buffer.dev.type) { 257 257 case SNDRV_DMA_TYPE_UNKNOWN: 258 return false; 258 /* we can't know the device, so just assume that the driver does 259 * everything right 260 */ 261 return true; 259 262 case SNDRV_DMA_TYPE_CONTINUOUS: 260 263 case SNDRV_DMA_TYPE_VMALLOC: -
GPL/branches/uniaud32-next/alsa-kernel/pci/hda/hda_generic.c
r694 r696 3472 3472 const struct hda_input_mux *imux; 3473 3473 struct nid_path *path; 3474 int i, adc_idx, err = 0;3474 int i, adc_idx, ret, err = 0; 3475 3475 3476 3476 imux = &spec->input_mux; … … 3482 3482 continue; 3483 3483 kcontrol->private_value = path->ctls[type]; 3484 err = func(kcontrol, ucontrol); 3485 if (err < 0) 3484 ret = func(kcontrol, ucontrol); 3485 if (ret < 0) { 3486 err = ret; 3486 3487 break; 3488 } 3489 if (ret > 0) 3490 err = 1; 3487 3491 } 3488 3492 mutex_unlock(&codec->control_mutex); -
GPL/branches/uniaud32-next/alsa-kernel/pci/hda/patch_realtek.c
r694 r696 7289 7289 ALC623_FIXUP_LENOVO_THINKSTATION_P340, 7290 7290 ALC255_FIXUP_ACER_HEADPHONE_AND_MIC, 7291 ALC236_FIXUP_HP_LIMIT_INT_MIC_BOOST, 7291 7292 }; 7292 7293 … … 9184 9185 }, 9185 9186 #endif 9187 [ALC236_FIXUP_HP_LIMIT_INT_MIC_BOOST] = { 9188 .type = HDA_FIXUP_FUNC, 9189 .v.func = alc269_fixup_limit_int_mic_boost, 9190 .chained = true, 9191 .chain_id = ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF, 9192 }, 9186 9193 }; 9187 9194 … … 9274 9281 SND_PCI_QUIRK(0x1028, 0x0a30, "Dell", ALC236_FIXUP_DELL_AIO_HEADSET_MIC), 9275 9282 SND_PCI_QUIRK(0x1028, 0x0a58, "Dell", ALC255_FIXUP_DELL_HEADSET_MIC), 9283 SND_PCI_QUIRK(0x1028, 0x0a61, "Dell XPS 15 9510", ALC289_FIXUP_DUAL_SPK), 9276 9284 SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), 9277 9285 SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), … … 9372 9380 SND_PCI_QUIRK(0x103c, 0x87f4, "HP", ALC287_FIXUP_HP_GPIO_LED), 9373 9381 SND_PCI_QUIRK(0x103c, 0x87f5, "HP", ALC287_FIXUP_HP_GPIO_LED), 9382 SND_PCI_QUIRK(0x103c, 0x87f6, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP), 9374 9383 SND_PCI_QUIRK(0x103c, 0x87f7, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP), 9384 SND_PCI_QUIRK(0x103c, 0x8805, "HP ProBook 650 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED), 9375 9385 SND_PCI_QUIRK(0x103c, 0x880d, "HP EliteBook 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), 9376 9386 SND_PCI_QUIRK(0x103c, 0x8846, "HP EliteBook 850 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), … … 9378 9388 SND_PCI_QUIRK(0x103c, 0x884b, "HP EliteBook 840 Aero G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), 9379 9389 SND_PCI_QUIRK(0x103c, 0x884c, "HP EliteBook 840 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), 9380 SND_PCI_QUIRK(0x103c, 0x8862, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_ MUTE_LED_MICMUTE_VREF),9381 SND_PCI_QUIRK(0x103c, 0x8863, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_ MUTE_LED_MICMUTE_VREF),9390 SND_PCI_QUIRK(0x103c, 0x8862, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_LIMIT_INT_MIC_BOOST), 9391 SND_PCI_QUIRK(0x103c, 0x8863, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_LIMIT_INT_MIC_BOOST), 9382 9392 SND_PCI_QUIRK(0x103c, 0x886d, "HP ZBook Fury 17.3 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), 9383 9393 SND_PCI_QUIRK(0x103c, 0x8870, "HP ZBook Fury 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), … … 9407 9417 SND_PCI_QUIRK(0x1043, 0x1740, "ASUS UX430UA", ALC295_FIXUP_ASUS_DACS), 9408 9418 SND_PCI_QUIRK(0x1043, 0x17d1, "ASUS UX431FL", ALC294_FIXUP_ASUS_DUAL_SPK), 9419 SND_PCI_QUIRK(0x1043, 0x1662, "ASUS GV301QH", ALC294_FIXUP_ASUS_DUAL_SPK), 9409 9420 SND_PCI_QUIRK(0x1043, 0x1881, "ASUS Zephyrus S/M", ALC294_FIXUP_ASUS_GX502_PINS), 9410 9421 SND_PCI_QUIRK(0x1043, 0x18b1, "Asus MJ401TA", ALC256_FIXUP_ASUS_HEADSET_MIC), … … 10452 10463 snd_hda_pick_fixup(codec, alc269_fixup_models, 10453 10464 alc269_fixup_tbl, alc269_fixups); 10465 /* FIXME: both TX300 and ROG Strix G17 have the same SSID, and 10466 * the quirk breaks the latter (bko#214101). 10467 * Clear the wrong entry. 10468 */ 10469 if (codec->fixup_id == ALC282_FIXUP_ASUS_TX300 && 10470 codec->core.vendor_id == 0x10ec0294) { 10471 codec_dbg(codec, "Clear wrong fixup for ASUS ROG Strix G17\n"); 10472 codec->fixup_id = HDA_FIXUP_ID_NOT_SET; 10473 } 10474 10454 10475 snd_hda_pick_pin_fixup(codec, alc269_pin_fixup_tbl, alc269_fixups, true); 10455 10476 snd_hda_pick_pin_fixup(codec, alc269_fallback_pin_fixup_tbl, alc269_fixups, false); -
GPL/branches/uniaud32-next/alsa-kernel/pci/hda/patch_via.c
r673 r696 1063 1063 1064 1064 static const struct snd_pci_quirk vt2002p_fixups[] = { 1065 SND_PCI_QUIRK(0x1043, 0x13f7, "Asus B23E", VIA_FIXUP_POWER_SAVE), 1065 1066 SND_PCI_QUIRK(0x1043, 0x1487, "Asus G75", VIA_FIXUP_ASUS_G75), 1066 1067 SND_PCI_QUIRK(0x1043, 0x8532, "Asus X202E", VIA_FIXUP_INTMIC_BOOST),
Note:
See TracChangeset
for help on using the changeset viewer.