Skip to content

Commit 430c89f

Browse files
committed
Merge tag 'sound-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai: "A collection of small fixes. All changes are device-specific and trivial, mostly HD-audio and USB-audio quirks and fixups" * tag 'sound-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ALSA: hda/realtek: Add quirk for HP ProBook 450 G8 ALSA: usb-audio: fix uac2 clock source at terminal parser ALSA: hda/realtek: add quirk for HP pavilion aero laptop 13z-be200 ALSA: hda/cirrus fix cs420x MacPro 6,1 inverted jack detection ALSA: usb-audio: Add DSD quirk for LEAK Stereo 230 ALSA: au88x0: Fix incorrect error handling for PCI config reads
2 parents a10d15a + d041e5e commit 430c89f

5 files changed

Lines changed: 11 additions & 5 deletions

File tree

sound/hda/codecs/cirrus/cs420x.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ static const struct hda_quirk cs4208_mac_fixup_tbl[] = {
585585
SND_PCI_QUIRK(0x106b, 0x6c00, "MacMini 7,1", CS4208_MACMINI),
586586
SND_PCI_QUIRK(0x106b, 0x7100, "MacBookAir 6,1", CS4208_MBA6),
587587
SND_PCI_QUIRK(0x106b, 0x7200, "MacBookAir 6,2", CS4208_MBA6),
588+
SND_PCI_QUIRK(0x106b, 0x7800, "MacPro 6,1", CS4208_MACMINI),
588589
SND_PCI_QUIRK(0x106b, 0x7b00, "MacBookPro 12,1", CS4208_MBP11),
589590
{} /* terminator */
590591
};

sound/hda/codecs/realtek/alc269.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6525,6 +6525,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
65256525
SND_PCI_QUIRK(0x103c, 0x8a4f, "HP Victus 15-fa0xxx (MB 8A4F)", ALC245_FIXUP_HP_MUTE_LED_COEFBIT),
65266526
SND_PCI_QUIRK(0x103c, 0x8a6e, "HP EDNA 360", ALC287_FIXUP_CS35L41_I2C_4),
65276527
SND_PCI_QUIRK(0x103c, 0x8a74, "HP ProBook 440 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED),
6528+
SND_PCI_QUIRK(0x103c, 0x8a75, "HP ProBook 450 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED),
65286529
SND_PCI_QUIRK(0x103c, 0x8a78, "HP Dev One", ALC285_FIXUP_HP_LIMIT_INT_MIC_BOOST),
65296530
SND_PCI_QUIRK(0x103c, 0x8aa0, "HP ProBook 440 G9 (MB 8A9E)", ALC236_FIXUP_HP_GPIO_LED),
65306531
SND_PCI_QUIRK(0x103c, 0x8aa3, "HP ProBook 450 G9 (MB 8AA1)", ALC236_FIXUP_HP_GPIO_LED),
@@ -6572,6 +6573,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
65726573
SND_PCI_QUIRK(0x103c, 0x8bc8, "HP Victus 15-fa1xxx", ALC245_FIXUP_HP_MUTE_LED_COEFBIT),
65736574
SND_PCI_QUIRK(0x103c, 0x8bcd, "HP Omen 16-xd0xxx", ALC245_FIXUP_HP_MUTE_LED_V1_COEFBIT),
65746575
SND_PCI_QUIRK(0x103c, 0x8bd4, "HP Victus 16-s0xxx (MB 8BD4)", ALC245_FIXUP_HP_MUTE_LED_COEFBIT),
6576+
SND_PCI_QUIRK(0x103c, 0x8bd6, "HP Pavilion Aero Laptop 13z-be200", ALC287_FIXUP_HP_GPIO_LED),
65756577
SND_PCI_QUIRK(0x103c, 0x8bdd, "HP Envy 17", ALC287_FIXUP_CS35L41_I2C_2),
65766578
SND_PCI_QUIRK(0x103c, 0x8bde, "HP Envy 17", ALC287_FIXUP_CS35L41_I2C_2),
65776579
SND_PCI_QUIRK(0x103c, 0x8bdf, "HP Envy 15", ALC287_FIXUP_CS35L41_I2C_2),

sound/pci/au88x0/au88x0.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,11 @@ __snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
280280

281281
// (5)
282282
err = pci_read_config_word(pci, PCI_DEVICE_ID, &chip->device);
283-
if (err < 0)
284-
return err;
283+
if (err)
284+
return pcibios_err_to_errno(err);
285285
err = pci_read_config_word(pci, PCI_VENDOR_ID, &chip->vendor);
286-
if (err < 0)
287-
return err;
286+
if (err)
287+
return pcibios_err_to_errno(err);
288288
chip->rev = pci->revision;
289289
#ifdef CHIP_AU8830
290290
if ((chip->rev) != 0xfe && (chip->rev) != 0xfa) {

sound/usb/mixer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ static int parse_term_uac2_clock_source(struct mixer_build *state,
921921
{
922922
struct uac_clock_source_descriptor *d = p1;
923923

924-
term->type = UAC3_CLOCK_SOURCE << 16; /* virtual type */
924+
term->type = UAC2_CLOCK_SOURCE << 16; /* virtual type */
925925
term->id = id;
926926
term->name = d->iClockSource;
927927
return 0;

sound/usb/quirks.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2030,6 +2030,7 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
20302030
case USB_ID(0x249c, 0x9326): /* M2Tech Young MkIII */
20312031
case USB_ID(0x2616, 0x0106): /* PS Audio NuWave DAC */
20322032
case USB_ID(0x2622, 0x0041): /* Audiolab M-DAC+ */
2033+
case USB_ID(0x2622, 0x0061): /* LEAK Stereo 230 */
20332034
case USB_ID(0x278b, 0x5100): /* Rotel RC-1590 */
20342035
case USB_ID(0x27f7, 0x3002): /* W4S DAC-2v2SE */
20352036
case USB_ID(0x29a2, 0x0086): /* Mutec MC3+ USB */
@@ -2428,6 +2429,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
24282429
QUIRK_FLAG_DSD_RAW),
24292430
VENDOR_FLG(0x25ce, /* Mytek devices */
24302431
QUIRK_FLAG_DSD_RAW),
2432+
VENDOR_FLG(0x2622, /* IAG Limited devices */
2433+
QUIRK_FLAG_DSD_RAW),
24312434
VENDOR_FLG(0x278b, /* Rotel? */
24322435
QUIRK_FLAG_DSD_RAW),
24332436
VENDOR_FLG(0x292b, /* Gustard/Ess based devices */

0 commit comments

Comments
 (0)