Skip to content

Commit aeb2e9c

Browse files
committed
ASoC: Merge up fixes
Merge the fixes branch up so we can apply further AMD work.
2 parents 863b917 + 3d1bb6c commit aeb2e9c

35 files changed

+223
-108
lines changed

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ TripleX Chung <[email protected]> <[email protected]>
416416
417417
Tsuneo Yoshioka <[email protected]>
418418
419+
419420
Uwe Kleine-König <[email protected]>
420421
Uwe Kleine-König <[email protected]>
421422
Uwe Kleine-König <[email protected]>

Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: Audio codec controlled by ChromeOS EC
88

99
maintainers:
1010
- Cheng-Yi Chiang <[email protected]>
11-
- Tzung-Bi Shih <tzungbi@google.com>
11+
- Tzung-Bi Shih <tzungbi@kernel.org>
1212

1313
description: |
1414
Google's ChromeOS EC codec is a digital mic codec provided by the

Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Realtek rt1015p codec devicetree bindings
88

99
maintainers:
10-
- Tzung-Bi Shih <tzungbi@google.com>
10+
- Tzung-Bi Shih <tzungbi@kernel.org>
1111

1212
description: |
1313
Rt1015p is a rt1015 variant which does not support I2C and

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4911,7 +4911,7 @@ F: drivers/platform/chrome/
49114911

49124912
CHROMEOS EC CODEC DRIVER
49134913
M: Cheng-Yi Chiang <[email protected]>
4914-
M: Tzung-Bi Shih <tzungbi@google.com>
4914+
M: Tzung-Bi Shih <tzungbi@kernel.org>
49154915
R: Guenter Roeck <[email protected]>
49164916
49174917
S: Maintained

include/sound/sof/dai.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ enum sof_ipc_dai_type {
8484
SOF_DAI_AMD_BT, /**< AMD ACP BT*/
8585
SOF_DAI_AMD_SP, /**< AMD ACP SP */
8686
SOF_DAI_AMD_DMIC, /**< AMD ACP DMIC */
87-
SOF_DAI_AMD_HS, /**< Amd HS */
8887
SOF_DAI_MEDIATEK_AFE, /**< Mediatek AFE */
88+
SOF_DAI_AMD_HS, /**< Amd HS */
8989
};
9090

9191
/* general purpose DAI configuration */

include/sound/sof/info.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ enum sof_ipc_ext_data {
3636
SOF_IPC_EXT_USER_ABI_INFO = 4,
3737
};
3838

39+
/* Build u32 number in format MMmmmppp */
40+
#define SOF_FW_VER(MAJOR, MINOR, PATCH) ((uint32_t)( \
41+
((MAJOR) << 24) | ((MINOR) << 12) | (PATCH)))
42+
3943
/* FW version - SOF_IPC_GLB_VERSION */
4044
struct sof_ipc_fw_version {
4145
struct sof_ipc_hdr hdr;

sound/hda/intel-dsp-config.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,11 @@ static const struct config_entry config_table[] = {
320320
{}
321321
}
322322
},
323+
{
324+
.flags = FLAG_SOF,
325+
.device = 0x34c8,
326+
.codec_hid = &essx_83x6,
327+
},
323328
{
324329
.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
325330
.device = 0x34c8,

sound/soc/amd/yc/acp6x-mach.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
206206
DMI_MATCH(DMI_PRODUCT_NAME, "UM5302TA"),
207207
}
208208
},
209+
{
210+
.driver_data = &acp6x_card,
211+
.matches = {
212+
DMI_MATCH(DMI_BOARD_VENDOR, "Alienware"),
213+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m17 R5 AMD"),
214+
}
215+
},
209216
{}
210217
};
211218

sound/soc/codecs/cs42l51.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ static const struct snd_kcontrol_new cs42l51_snd_controls[] = {
143143
0, 0xA0, 96, adc_att_tlv),
144144
SOC_DOUBLE_R_SX_TLV("PGA Volume",
145145
CS42L51_ALC_PGA_CTL, CS42L51_ALC_PGB_CTL,
146-
0, 0x19, 30, pga_tlv),
146+
0, 0x1A, 30, pga_tlv),
147147
SOC_SINGLE("Playback Deemphasis Switch", CS42L51_DAC_CTL, 3, 1, 0),
148148
SOC_SINGLE("Auto-Mute Switch", CS42L51_DAC_CTL, 2, 1, 0),
149149
SOC_SINGLE("Soft Ramp Switch", CS42L51_DAC_CTL, 1, 1, 0),

sound/soc/codecs/hdac_hda.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ enum {
1414
HDAC_HDMI_1_DAI_ID,
1515
HDAC_HDMI_2_DAI_ID,
1616
HDAC_HDMI_3_DAI_ID,
17-
HDAC_LAST_DAI_ID = HDAC_HDMI_3_DAI_ID,
17+
HDAC_DAI_ID_NUM
1818
};
1919

2020
struct hdac_hda_pcm {
@@ -24,7 +24,7 @@ struct hdac_hda_pcm {
2424

2525
struct hdac_hda_priv {
2626
struct hda_codec *codec;
27-
struct hdac_hda_pcm pcm[HDAC_LAST_DAI_ID];
27+
struct hdac_hda_pcm pcm[HDAC_DAI_ID_NUM];
2828
bool need_display_power;
2929
};
3030

0 commit comments

Comments
 (0)