Skip to content

Commit f4affdc

Browse files
committed
Merge remote-tracking branch 'takashi/for-next' into sound/upstream-20251016
2 parents c609469 + 28412b4 commit f4affdc

9 files changed

Lines changed: 27 additions & 3 deletions

File tree

sound/firewire/amdtp-stream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* allows 5 times as large as IEC 61883-6 defines.
3333
* @CIP_HEADER_WITHOUT_EOH: Only for in-stream. CIP Header doesn't include
3434
* valid EOH.
35-
* @CIP_NO_HEADERS: a lack of headers in packets
35+
* @CIP_NO_HEADER: a lack of headers in packets
3636
* @CIP_UNALIGHED_DBC: Only for in-stream. The value of dbc is not alighed to
3737
* the value of current SYT_INTERVAL; e.g. initial value is not zero.
3838
* @CIP_UNAWARE_SYT: For outgoing packet, the value in SYT field of CIP is 0xffff.

sound/hda/codecs/realtek/alc269.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6397,6 +6397,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
63976397
SND_PCI_QUIRK(0x103c, 0x854a, "HP EliteBook 830 G6", ALC285_FIXUP_HP_GPIO_LED),
63986398
SND_PCI_QUIRK(0x103c, 0x85c6, "HP Pavilion x360 Convertible 14-dy1xxx", ALC295_FIXUP_HP_MUTE_LED_COEFBIT11),
63996399
SND_PCI_QUIRK(0x103c, 0x85de, "HP Envy x360 13-ar0xxx", ALC285_FIXUP_HP_ENVY_X360),
6400+
SND_PCI_QUIRK(0x103c, 0x860c, "HP ZBook 17 G6", ALC285_FIXUP_HP_GPIO_AMP_INIT),
64006401
SND_PCI_QUIRK(0x103c, 0x860f, "HP ZBook 15 G6", ALC285_FIXUP_HP_GPIO_AMP_INIT),
64016402
SND_PCI_QUIRK(0x103c, 0x861f, "HP Elite Dragonfly G1", ALC285_FIXUP_HP_GPIO_AMP_INIT),
64026403
SND_PCI_QUIRK(0x103c, 0x869d, "HP", ALC236_FIXUP_HP_MUTE_LED),

sound/hda/codecs/side-codecs/cs35l41_hda.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,8 @@ static int cs35l41_get_acpi_mute_state(struct cs35l41_hda *cs35l41, acpi_handle
14101410

14111411
if (cs35l41_dsm_supported(handle, CS35L41_DSM_GET_MUTE)) {
14121412
ret = acpi_evaluate_dsm(handle, &guid, 0, CS35L41_DSM_GET_MUTE, NULL);
1413+
if (!ret)
1414+
return -EINVAL;
14131415
mute = *ret->buffer.pointer;
14141416
dev_dbg(cs35l41->dev, "CS35L41_DSM_GET_MUTE: %d\n", mute);
14151417
}

sound/hda/codecs/side-codecs/hda_component.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ int hda_component_manager_init(struct hda_codec *cdc,
174174
sm->match_str = match_str;
175175
sm->index = i;
176176
component_match_add(dev, &match, hda_comp_match_dev_name, sm);
177+
if (IS_ERR(match)) {
178+
codec_err(cdc, "Fail to add component %ld\n", PTR_ERR(match));
179+
return PTR_ERR(match);
180+
}
177181
}
178182

179183
ret = component_master_add_with_match(dev, ops, match);

sound/hda/codecs/side-codecs/tas2781_hda_i2c.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@ static int tas2781_hda_i2c_probe(struct i2c_client *clt)
669669
*/
670670
device_name = "TXNW5825";
671671
hda_priv->hda_chip_id = HDA_TAS5825;
672+
tas_hda->priv->chip_id = TAS5825;
672673
} else {
673674
return -ENODEV;
674675
}

sound/hda/controllers/intel.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2075,6 +2075,7 @@ static const struct pci_device_id driver_denylist[] = {
20752075
{ PCI_DEVICE_SUB(0x1022, 0x1487, 0x1043, 0x874f) }, /* ASUS ROG Zenith II / Strix */
20762076
{ PCI_DEVICE_SUB(0x1022, 0x1487, 0x1462, 0xcb59) }, /* MSI TRX40 Creator */
20772077
{ PCI_DEVICE_SUB(0x1022, 0x1487, 0x1462, 0xcb60) }, /* MSI TRX40 */
2078+
{ PCI_DEVICE_SUB(0x1022, 0x15e3, 0x1462, 0xee59) }, /* MSI X870E Tomahawk WiFi */
20782079
{}
20792080
};
20802081

sound/usb/card.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -891,10 +891,16 @@ get_alias_quirk(struct usb_device *dev, unsigned int id)
891891
*/
892892
static int try_to_register_card(struct snd_usb_audio *chip, int ifnum)
893893
{
894+
struct usb_interface *iface;
895+
894896
if (check_delayed_register_option(chip) == ifnum ||
895-
chip->last_iface == ifnum ||
896-
usb_interface_claimed(usb_ifnum_to_if(chip->dev, chip->last_iface)))
897+
chip->last_iface == ifnum)
898+
return snd_card_register(chip->card);
899+
900+
iface = usb_ifnum_to_if(chip->dev, chip->last_iface);
901+
if (iface && usb_interface_claimed(iface))
897902
return snd_card_register(chip->card);
903+
898904
return 0;
899905
}
900906

sound/usb/mixer.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,13 @@ static void volume_control_quirks(struct usb_mixer_elem_info *cval,
11891189
cval->min = -14208; /* Mute under it */
11901190
}
11911191
break;
1192+
case USB_ID(0x12d1, 0x3a07): /* Huawei Technologies Co., Ltd. CM-Q3 */
1193+
if (!strcmp(kctl->id.name, "PCM Playback Volume")) {
1194+
usb_audio_info(chip,
1195+
"set volume quirk for Huawei Technologies Co., Ltd. CM-Q3\n");
1196+
cval->min = -11264; /* Mute under it */
1197+
}
1198+
break;
11921199
}
11931200
}
11941201

sound/usb/quirks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2180,6 +2180,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
21802180
QUIRK_FLAG_CTL_MSG_DELAY_1M | QUIRK_FLAG_MIC_RES_384),
21812181
DEVICE_FLG(0x046d, 0x09a4, /* Logitech QuickCam E 3500 */
21822182
QUIRK_FLAG_CTL_MSG_DELAY_1M | QUIRK_FLAG_IGNORE_CTL_ERROR),
2183+
DEVICE_FLG(0x046d, 0x0a8f, /* Logitech H390 headset */
2184+
QUIRK_FLAG_MIXER_PLAYBACK_MIN_MUTE),
21832185
DEVICE_FLG(0x0499, 0x1506, /* Yamaha THR5 */
21842186
QUIRK_FLAG_GENERIC_IMPLICIT_FB),
21852187
DEVICE_FLG(0x0499, 0x1509, /* Steinberg UR22 */

0 commit comments

Comments
 (0)