Skip to content

Commit 7a64bdf

Browse files
committed
Merge tag 'sound-6.17-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull more sound updates from Takashi Iwai: "For catching up the remaining stuff for 6.17: only small updates and the rest are mostly small fixes. - Fixes in HD-audio codec driver Kconfig, so that configurations can be more easily/safely carried between different versions - Fixes in ASoC SDCA, FSL xcvr, AW88399 - ASoC IMX WM8524 support - HD-audio and USB-audio quirks and fixes - A minor selftest fix" * tag 'sound-6.17-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (21 commits) ALSA: usb: scarlett2: Fix missing NULL check mips: Update HD-audio configs again LoongArch: Update HD-audio codec configs arm: Update HD-audio configs again selftests: ALSA: fix memory leak in utimer test ALSA: usb-audio: Add DSD support for Comtrue USB Audio device ALSA: hda/hdmi: Enable drivers as default ALSA: hda/cirrus: Enable drivers as default ALSA: hda/realtek: Enable drivers as default ALSA: hda/realtek - Fix mute LED for HP Victus 16-d1xxx (MB 8A26) ALSA: hda/realtek - Fix mute LED for HP Victus 16-s0xxx ALSA: hda: Fix the wrong register was used for DVC of TAS2770 ALSA: scarlett2: Add retry on -EPROTO from scarlett2_usb_tx() ALSA: hda/realtek - Fix mute LED for HP Victus 16-r1xxx ASoC: codecs: Add acpi_match_table for aw88399 driver ASoC: dt-bindings: atmel,at91-ssc: add microchip,sam9x7-ssc ASoC: imx-card: Add WM8524 support ASoC: fsl_xcvr: get channel status data with firmware exists ASoC: fsl_xcvr: get channel status data when PHY is not exists ASoC: SDCA: Add support for -cn- value properties ...
2 parents 6fac113 + df485a4 commit 7a64bdf

File tree

22 files changed

+282
-68
lines changed

22 files changed

+282
-68
lines changed

Documentation/devicetree/bindings/sound/atmel,at91-ssc.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@ description:
1616

1717
properties:
1818
compatible:
19-
enum:
20-
- atmel,at91rm9200-ssc
21-
- atmel,at91sam9g45-ssc
19+
oneOf:
20+
- enum:
21+
- atmel,at91rm9200-ssc
22+
- atmel,at91sam9g45-ssc
23+
- items:
24+
- enum:
25+
- microchip,sam9x7-ssc
26+
- const: atmel,at91sam9g45-ssc
2227

2328
reg:
2429
maxItems: 1

arch/arm/configs/multi_v7_defconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,10 +794,12 @@ CONFIG_SND=m
794794
CONFIG_SND_HDA_TEGRA=m
795795
CONFIG_SND_HDA_INPUT_BEEP=y
796796
CONFIG_SND_HDA_PATCH_LOADER=y
797-
CONFIG_SND_HDA_CODEC_REALTEK=y
797+
CONFIG_SND_HDA_CODEC_REALTEK=m
798798
CONFIG_SND_HDA_CODEC_REALTEK_LIB=m
799799
CONFIG_SND_HDA_CODEC_ALC269=m
800800
CONFIG_SND_HDA_CODEC_HDMI=m
801+
CONFIG_SND_HDA_CODEC_HDMI_GENERIC=m
802+
CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=m
801803
CONFIG_SND_HDA_CODEC_HDMI_TEGRA=m
802804
CONFIG_SND_USB_AUDIO=m
803805
CONFIG_SND_SOC=m

arch/arm/configs/tegra_defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,12 @@ CONFIG_SND_HDA_TEGRA=y
225225
CONFIG_SND_HDA_INPUT_BEEP=y
226226
CONFIG_SND_HDA_PATCH_LOADER=y
227227
CONFIG_SND_HDA_CODEC_REALTEK=y
228+
CONFIG_SND_HDA_CODEC_REALTEK_LIB=y
229+
CONFIG_SND_HDA_CODEC_ALC269=y
228230
CONFIG_SND_HDA_CODEC_HDMI=y
231+
CONFIG_SND_HDA_CODEC_HDMI_GENERIC=y
232+
CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=y
233+
CONFIG_SND_HDA_CODEC_HDMI_TEGRA=y
229234
# CONFIG_SND_ARM is not set
230235
# CONFIG_SND_SPI is not set
231236
# CONFIG_SND_USB is not set

arch/loongarch/configs/loongson3_defconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,8 +783,23 @@ CONFIG_SND_HDA_HWDEP=y
783783
CONFIG_SND_HDA_INPUT_BEEP=y
784784
CONFIG_SND_HDA_PATCH_LOADER=y
785785
CONFIG_SND_HDA_CODEC_REALTEK=y
786+
CONFIG_SND_HDA_CODEC_REALTEK_LIB=y
787+
CONFIG_SND_HDA_CODEC_ALC260=y
788+
CONFIG_SND_HDA_CODEC_ALC262=y
789+
CONFIG_SND_HDA_CODEC_ALC268=y
790+
CONFIG_SND_HDA_CODEC_ALC269=y
791+
CONFIG_SND_HDA_CODEC_ALC662=y
792+
CONFIG_SND_HDA_CODEC_ALC680=y
793+
CONFIG_SND_HDA_CODEC_ALC861=y
794+
CONFIG_SND_HDA_CODEC_ALC861VD=y
795+
CONFIG_SND_HDA_CODEC_ALC880=y
796+
CONFIG_SND_HDA_CODEC_ALC882=y
786797
CONFIG_SND_HDA_CODEC_SIGMATEL=y
787798
CONFIG_SND_HDA_CODEC_HDMI=y
799+
CONFIG_SND_HDA_CODEC_HDMI_GENERIC=y
800+
CONFIG_SND_HDA_CODEC_HDMI_INTEL=y
801+
CONFIG_SND_HDA_CODEC_HDMI_ATI=y
802+
CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=y
788803
CONFIG_SND_HDA_CODEC_CONEXANT=y
789804
CONFIG_SND_USB_AUDIO=m
790805
CONFIG_SND_SOC=m

arch/mips/configs/loongson2k_defconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,17 @@ CONFIG_SND_HDA_INTEL=y
256256
CONFIG_SND_HDA_HWDEP=y
257257
CONFIG_SND_HDA_PATCH_LOADER=y
258258
CONFIG_SND_HDA_CODEC_REALTEK=y
259+
CONFIG_SND_HDA_CODEC_REALTEK_LIB=y
260+
CONFIG_SND_HDA_CODEC_ALC260=y
261+
CONFIG_SND_HDA_CODEC_ALC262=y
262+
CONFIG_SND_HDA_CODEC_ALC268=y
263+
CONFIG_SND_HDA_CODEC_ALC269=y
264+
CONFIG_SND_HDA_CODEC_ALC662=y
265+
CONFIG_SND_HDA_CODEC_ALC680=y
266+
CONFIG_SND_HDA_CODEC_ALC861=y
267+
CONFIG_SND_HDA_CODEC_ALC861VD=y
268+
CONFIG_SND_HDA_CODEC_ALC880=y
269+
CONFIG_SND_HDA_CODEC_ALC882=y
259270
CONFIG_SND_HDA_CODEC_ANALOG=y
260271
CONFIG_SND_HDA_CODEC_SIGMATEL=y
261272
CONFIG_SND_HDA_CODEC_VIA=y

arch/mips/configs/loongson3_defconfig

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,24 @@ CONFIG_SND_SEQ_DUMMY=m
291291
# CONFIG_SND_ISA is not set
292292
CONFIG_SND_HDA_INTEL=m
293293
CONFIG_SND_HDA_PATCH_LOADER=y
294-
CONFIG_SND_HDA_CODEC_REALTEK=y
294+
CONFIG_SND_HDA_CODEC_REALTEK=m
295295
CONFIG_SND_HDA_CODEC_REALTEK_LIB=m
296+
CONFIG_SND_HDA_CODEC_ALC260=m
297+
CONFIG_SND_HDA_CODEC_ALC262=m
298+
CONFIG_SND_HDA_CODEC_ALC268=m
296299
CONFIG_SND_HDA_CODEC_ALC269=m
300+
CONFIG_SND_HDA_CODEC_ALC662=m
301+
CONFIG_SND_HDA_CODEC_ALC680=m
302+
CONFIG_SND_HDA_CODEC_ALC861=m
303+
CONFIG_SND_HDA_CODEC_ALC861VD=m
304+
CONFIG_SND_HDA_CODEC_ALC880=m
305+
CONFIG_SND_HDA_CODEC_ALC882=m
297306
CONFIG_SND_HDA_CODEC_SIGMATEL=m
298307
CONFIG_SND_HDA_CODEC_HDMI=m
308+
CONFIG_SND_HDA_CODEC_HDMI_GENERIC=m
309+
CONFIG_SND_HDA_CODEC_HDMI_INTEL=m
310+
CONFIG_SND_HDA_CODEC_HDMI_ATI=m
311+
CONFIG_SND_HDA_CODEC_HDMI_NVIDIA=m
299312
CONFIG_SND_HDA_CODEC_CONEXANT=m
300313
# CONFIG_SND_USB is not set
301314
CONFIG_HIDRAW=y

include/sound/sdca_function.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -742,14 +742,14 @@ struct sdca_control_range {
742742
* struct sdca_control - information for one SDCA Control
743743
* @label: Name for the Control, from SDCA Specification v1.0, section 7.1.7.
744744
* @sel: Identifier used for addressing.
745-
* @value: Holds the Control value for constants and defaults.
746745
* @nbits: Number of bits used in the Control.
747-
* @interrupt_position: SCDA interrupt line that will alert to changes on this
748-
* Control.
746+
* @values: Holds the Control value for constants and defaults.
749747
* @cn_list: A bitmask showing the valid Control Numbers within this Control,
750748
* Control Numbers typically represent channels.
751-
* @range: Buffer describing valid range of values for the Control.
749+
* @interrupt_position: SCDA interrupt line that will alert to changes on this
750+
* Control.
752751
* @type: Format of the data in the Control.
752+
* @range: Buffer describing valid range of values for the Control.
753753
* @mode: Access mode of the Control.
754754
* @layers: Bitmask of access layers of the Control.
755755
* @deferrable: Indicates if the access to the Control can be deferred.
@@ -760,13 +760,13 @@ struct sdca_control {
760760
const char *label;
761761
int sel;
762762

763-
int value;
764763
int nbits;
765-
int interrupt_position;
764+
int *values;
766765
u64 cn_list;
766+
int interrupt_position;
767767

768-
struct sdca_control_range range;
769768
enum sdca_control_datatype type;
769+
struct sdca_control_range range;
770770
enum sdca_access_mode mode;
771771
u8 layers;
772772

include/sound/tas2770-tlv.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
#ifndef __TAS2770_TLV_H__
1515
#define __TAS2770_TLV_H__
1616

17-
#define TAS2770_DVC_LEVEL TASDEVICE_REG(0x0, 0x0, 0x17)
17+
#define TAS2770_DVC_LEVEL TASDEVICE_REG(0x0, 0x0, 0x05)
1818
#define TAS2770_AMP_LEVEL TASDEVICE_REG(0x0, 0x0, 0x03)
1919

20-
static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_dvc_tlv, 1650, 50, 0);
20+
static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_dvc_tlv, -10000, 50, 0);
2121
static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2770_amp_tlv, 1100, 50, 0);
2222

2323
#endif

sound/hda/codecs/cirrus/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

3+
menuconfig SND_HDA_CODEC_CIRRUS
4+
tristate "Cirrus Logic HD-audio codec support"
5+
6+
if SND_HDA_CODEC_CIRRUS
7+
38
config SND_HDA_CODEC_CS420X
49
tristate "Build Cirrus Logic CS420x codec support"
510
select SND_HDA_GENERIC
11+
default y
612
help
713
Say Y or M here to include Cirrus Logic CS420x codec support in
814
snd-hda-intel driver
@@ -13,6 +19,7 @@ comment "Set to Y if you want auto-loading the codec driver"
1319
config SND_HDA_CODEC_CS421X
1420
tristate "Build Cirrus Logic CS421x codec support"
1521
select SND_HDA_GENERIC
22+
default y
1623
help
1724
Say Y or M here to include Cirrus Logic CS421x codec support in
1825
snd-hda-intel driver
@@ -29,3 +36,5 @@ config SND_HDA_CODEC_CS8409
2936

3037
comment "Set to Y if you want auto-loading the codec driver"
3138
depends on SND_HDA=y && SND_HDA_CODEC_CS8409=m
39+
40+
endif

sound/hda/codecs/hdmi/Kconfig

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

3-
config SND_HDA_CODEC_HDMI
3+
menuconfig SND_HDA_CODEC_HDMI
4+
tristate "HD-audio HDMI codec support"
5+
6+
if SND_HDA_CODEC_HDMI
7+
8+
config SND_HDA_CODEC_HDMI_GENERIC
49
tristate "Generic HDMI/DisplayPort HD-audio codec support"
510
select SND_DYNAMIC_MINORS
611
select SND_PCM_ELD
12+
default y
713
help
814
Say Y or M here to include Generic HDMI and DisplayPort HD-audio
915
codec support.
@@ -13,13 +19,15 @@ config SND_HDA_CODEC_HDMI
1319

1420
config SND_HDA_CODEC_HDMI_SIMPLE
1521
tristate "Simple HDMI/DisplayPort HD-audio codec support"
22+
default y
1623
help
1724
Say Y or M here to include Simple HDMI and DisplayPort HD-audio
1825
codec support for VIA and other codecs.
1926

2027
config SND_HDA_CODEC_HDMI_INTEL
2128
tristate "Intel HDMI/DisplayPort HD-audio codec support"
22-
select SND_HDA_CODEC_HDMI
29+
select SND_HDA_CODEC_HDMI_GENERIC
30+
default y
2331
help
2432
Say Y or M here to include Intel graphics HDMI and DisplayPort
2533
HD-audio codec support.
@@ -41,28 +49,34 @@ config SND_HDA_INTEL_HDMI_SILENT_STREAM
4149

4250
config SND_HDA_CODEC_HDMI_ATI
4351
tristate "AMD/ATI HDMI/DisplayPort HD-audio codec support"
44-
select SND_HDA_CODEC_HDMI
52+
select SND_HDA_CODEC_HDMI_GENERIC
53+
default y
4554
help
4655
Say Y or M here to include AMD/ATI graphics HDMI and DisplayPort
4756
HD-audio codec support.
4857

4958
config SND_HDA_CODEC_HDMI_NVIDIA
5059
tristate "Nvidia HDMI/DisplayPort HD-audio codec support"
51-
select SND_HDA_CODEC_HDMI
60+
select SND_HDA_CODEC_HDMI_GENERIC
61+
default y
5262
help
5363
Say Y or M here to include HDMI and DisplayPort HD-audio codec
5464
support for the recent Nvidia graphics cards.
5565

5666
config SND_HDA_CODEC_HDMI_NVIDIA_MCP
5767
tristate "Legacy Nvidia HDMI/DisplayPort HD-audio codec support"
5868
select SND_HDA_CODEC_HDMI_SIMPLE
69+
default y
5970
help
6071
Say Y or M here to include HDMI and DisplayPort HD-audio codec
6172
support for the legacy Nvidia graphics like MCP73, MCP67, MCP77/78.
6273

6374
config SND_HDA_CODEC_HDMI_TEGRA
6475
tristate "Nvidia Tegra HDMI/DisplayPort HD-audio codec support"
65-
select SND_HDA_CODEC_HDMI
76+
select SND_HDA_CODEC_HDMI_GENERIC
77+
default y
6678
help
6779
Say Y or M here to include HDMI and DisplayPort HD-audio codec
6880
support for Nvidia Tegra.
81+
82+
endif

0 commit comments

Comments
 (0)