Skip to content

Commit 1422424

Browse files
committed
Merge tag 'sound-6.18-rc2' 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 rather boring device-specific fixes and quirks: - A few fixes for missing NULL checks - ASoC NAU8821 fixes for jack and irq handling - Various fixes for ASoC TAS2781, IDT821034, sc8280xp, max9809x, wcd938x, and SoundWire - Usual HD-audio and USB-audio quirks" * tag 'sound-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (27 commits) ALSA: hda/realtek: Fix mute led for HP Omen 17-cb0xxx ALSA: usb-audio: fix vendor quirk for Logitech H390 ALSA: usb-audio: add volume quirks for MS LifeChat LX-3000 ASoC: amd/sdw_utils: avoid NULL deref when devm_kasprintf() fails ASoC: max98090/91: fixed max98091 ALSA widget powering up/down ASoC: dt-bindings: Add compatible string fsl,imx-audio-tlv320 ASoC: codecs: wcd938x-sdw: remove redundant runtime pm calls ASoC: sdw_utils: add rt1321 part id to codec_info_list ALSA: usb-audio: Fix NULL pointer deference in try_to_register_card ALSA: firewire: amdtp-stream: fix enum kernel-doc warnings ALSA: usb-audio: add mixer_playback_min_mute quirk for Logitech H390 ASoC: nau8821: Avoid unnecessary blocking in IRQ handler ASoC: nau8821: Add DMI quirk to bypass jack debounce circuit ASoC: nau8821: Consistently clear interrupts before unmasking ASoC: nau8821: Generalize helper to clear IRQ status ASoC: nau8821: Cancel jdet_work before handling jack ejection ASoC: codecs: Fix gain setting ranges for Renesas IDT821034 codec ASoC: tas2781: Update ti,tas2781.yaml for adding tas58xx ASoC: tas2781: Support more newly-released amplifiers tas58xx in the driver ASoC: qcom: sc8280xp: Add support for QCS615 ...
2 parents e96687c + 2a78634 commit 1422424

File tree

22 files changed

+216
-87
lines changed

22 files changed

+216
-87
lines changed

Documentation/devicetree/bindings/sound/fsl-asoc-card.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ properties:
7979
- fsl,imx-audio-nau8822
8080
- fsl,imx-audio-sgtl5000
8181
- fsl,imx-audio-si476x
82+
- fsl,imx-audio-tlv320
8283
- fsl,imx-audio-tlv320aic31xx
8384
- fsl,imx-audio-tlv320aic32x4
8485
- fsl,imx-audio-wm8524

Documentation/devicetree/bindings/sound/qcom,sm8250.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ properties:
3333
- qcom,apq8096-sndcard
3434
- qcom,glymur-sndcard
3535
- qcom,qcm6490-idp-sndcard
36+
- qcom,qcs615-sndcard
3637
- qcom,qcs6490-rb3gen2-sndcard
3738
- qcom,qcs8275-sndcard
3839
- qcom,qcs9075-sndcard

Documentation/devicetree/bindings/sound/ti,tas2781.yaml

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,21 @@ description: |
2424
Instruments Smart Amp speaker protection algorithm. The
2525
integrated speaker voltage and current sense provides for real time
2626
monitoring of loudspeaker behavior.
27-
The TAS5825/TAS5827 is a stereo, digital input Class-D audio
28-
amplifier optimized for efficiently driving high peak power into
29-
small loudspeakers. An integrated on-chip DSP supports Texas
30-
Instruments Smart Amp speaker protection algorithm.
27+
The TAS5802/TAS5815/TAS5825/TAS5827/TAS5828 is a stereo, digital input
28+
Class-D audio amplifier optimized for efficiently driving high peak
29+
power into small loudspeakers. An integrated on-chip DSP supports
30+
Texas Instruments Smart Amp speaker protection algorithm.
3131
3232
Specifications about the audio amplifier can be found at:
3333
https://www.ti.com/lit/gpn/tas2120
3434
https://www.ti.com/lit/gpn/tas2320
3535
https://www.ti.com/lit/gpn/tas2563
3636
https://www.ti.com/lit/gpn/tas2572
3737
https://www.ti.com/lit/gpn/tas2781
38+
https://www.ti.com/lit/gpn/tas5815
3839
https://www.ti.com/lit/gpn/tas5825m
3940
https://www.ti.com/lit/gpn/tas5827
41+
https://www.ti.com/lit/gpn/tas5828m
4042
4143
properties:
4244
compatible:
@@ -65,11 +67,21 @@ properties:
6567
Protection and Audio Processing, 16/20/24/32bit stereo I2S or
6668
multichannel TDM.
6769
70+
ti,tas5802: 22-W, Inductor-Less, Digital Input, Closed-Loop Class-D
71+
Audio Amplifier with 96-Khz Extended Processing and Low Idle Power
72+
Dissipation.
73+
74+
ti,tas5815: 30-W, Digital Input, Stereo, Closed-loop Class-D Audio
75+
Amplifier with 96 kHz Enhanced Processing
76+
6877
ti,tas5825: 38-W Stereo, Inductor-Less, Digital Input, Closed-Loop 4.5V
6978
to 26.4V Class-D Audio Amplifier with 192-kHz Extended Audio Processing.
7079
71-
ti,tas5827: 47-W Stereo, Digital Input, High Efficiency Closed-Loop Class-D
72-
Amplifier with Class-H Algorithm
80+
ti,tas5827: 47-W Stereo, Digital Input, High Efficiency Closed-Loop
81+
Class-D Amplifier with Class-H Algorithm
82+
83+
ti,tas5828: 50-W Stereo, Digital Input, High Efficiency Closed-Loop
84+
Class-D Amplifier with Hybrid-Pro Algorithm
7385
oneOf:
7486
- items:
7587
- enum:
@@ -80,8 +92,11 @@ properties:
8092
- ti,tas2563
8193
- ti,tas2570
8294
- ti,tas2572
95+
- ti,tas5802
96+
- ti,tas5815
8397
- ti,tas5825
8498
- ti,tas5827
99+
- ti,tas5828
85100
- const: ti,tas2781
86101
- enum:
87102
- ti,tas2781
@@ -177,12 +192,28 @@ allOf:
177192
minimum: 0x38
178193
maximum: 0x3f
179194

195+
- if:
196+
properties:
197+
compatible:
198+
contains:
199+
enum:
200+
- ti,tas5802
201+
- ti,tas5815
202+
then:
203+
properties:
204+
reg:
205+
maxItems: 4
206+
items:
207+
minimum: 0x54
208+
maximum: 0x57
209+
180210
- if:
181211
properties:
182212
compatible:
183213
contains:
184214
enum:
185215
- ti,tas5827
216+
- ti,tas5828
186217
then:
187218
properties:
188219
reg:

include/sound/tas2781.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,11 @@ enum audio_device {
120120
TAS2570,
121121
TAS2572,
122122
TAS2781,
123+
TAS5802,
124+
TAS5815,
123125
TAS5825,
124126
TAS5827,
127+
TAS5828,
125128
TAS_OTHERS,
126129
};
127130

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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6397,6 +6397,8 @@ 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, 0x8603, "HP Omen 17-cb0xxx", ALC285_FIXUP_HP_MUTE_LED),
6401+
SND_PCI_QUIRK(0x103c, 0x860c, "HP ZBook 17 G6", ALC285_FIXUP_HP_GPIO_AMP_INIT),
64006402
SND_PCI_QUIRK(0x103c, 0x860f, "HP ZBook 15 G6", ALC285_FIXUP_HP_GPIO_AMP_INIT),
64016403
SND_PCI_QUIRK(0x103c, 0x861f, "HP Elite Dragonfly G1", ALC285_FIXUP_HP_GPIO_AMP_INIT),
64026404
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

0 commit comments

Comments
 (0)