Skip to content

Commit 5516e3f

Browse files
committed
Merge branch 'for-linus' into for-next
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2 parents 28fbfaf + c491b04 commit 5516e3f

24 files changed

Lines changed: 130 additions & 91 deletions

include/sound/sof/topology.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ enum sof_comp_type {
5454
struct sof_ipc_comp {
5555
struct sof_ipc_cmd_hdr hdr;
5656
uint32_t id;
57-
enum sof_comp_type type;
57+
uint32_t type;
5858
uint32_t pipeline_id;
5959
uint32_t core;
6060

include/uapi/sound/sof/abi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/* SOF ABI version major, minor and patch numbers */
3030
#define SOF_ABI_MAJOR 3
3131
#define SOF_ABI_MINOR 23
32-
#define SOF_ABI_PATCH 0
32+
#define SOF_ABI_PATCH 1
3333

3434
/* SOF ABI version number. Format within 32bit word is MMmmmppp */
3535
#define SOF_ABI_MAJOR_SHIFT 24

sound/pci/hda/patch_realtek.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10183,6 +10183,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
1018310183
SND_PCI_QUIRK(0x103c, 0x87f5, "HP", ALC287_FIXUP_HP_GPIO_LED),
1018410184
SND_PCI_QUIRK(0x103c, 0x87f6, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP),
1018510185
SND_PCI_QUIRK(0x103c, 0x87f7, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP),
10186+
SND_PCI_QUIRK(0x103c, 0x87fd, "HP Laptop 14-dq2xxx", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
1018610187
SND_PCI_QUIRK(0x103c, 0x87fe, "HP Laptop 15s-fq2xxx", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
1018710188
SND_PCI_QUIRK(0x103c, 0x8805, "HP ProBook 650 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED),
1018810189
SND_PCI_QUIRK(0x103c, 0x880d, "HP EliteBook 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED),
@@ -10307,6 +10308,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
1030710308
SND_PCI_QUIRK(0x103c, 0x8c16, "HP Spectre 16", ALC287_FIXUP_CS35L41_I2C_2),
1030810309
SND_PCI_QUIRK(0x103c, 0x8c17, "HP Spectre 16", ALC287_FIXUP_CS35L41_I2C_2),
1030910310
SND_PCI_QUIRK(0x103c, 0x8c21, "HP Pavilion Plus Laptop 14-ey0XXX", ALC245_FIXUP_HP_X360_MUTE_LEDS),
10311+
SND_PCI_QUIRK(0x103c, 0x8c30, "HP Victus 15-fb1xxx", ALC245_FIXUP_HP_MUTE_LED_COEFBIT),
1031010312
SND_PCI_QUIRK(0x103c, 0x8c46, "HP EliteBook 830 G11", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
1031110313
SND_PCI_QUIRK(0x103c, 0x8c47, "HP EliteBook 840 G11", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
1031210314
SND_PCI_QUIRK(0x103c, 0x8c48, "HP EliteBook 860 G11", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
@@ -10433,6 +10435,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
1043310435
SND_PCI_QUIRK(0x1043, 0x1e02, "ASUS UX3402ZA", ALC245_FIXUP_CS35L41_SPI_2),
1043410436
SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502),
1043510437
SND_PCI_QUIRK(0x1043, 0x1e12, "ASUS UM3402", ALC287_FIXUP_CS35L41_I2C_2),
10438+
SND_PCI_QUIRK(0x1043, 0x1e1f, "ASUS Vivobook 15 X1504VAP", ALC2XX_FIXUP_HEADSET_MIC),
1043610439
SND_PCI_QUIRK(0x1043, 0x1e51, "ASUS Zephyrus M15", ALC294_FIXUP_ASUS_GU502_PINS),
1043710440
SND_PCI_QUIRK(0x1043, 0x1e5e, "ASUS ROG Strix G513", ALC294_FIXUP_ASUS_G513_PINS),
1043810441
SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA401),

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
353353
DMI_MATCH(DMI_PRODUCT_NAME, "Bravo 15 C7VF"),
354354
}
355355
},
356+
{
357+
.driver_data = &acp6x_card,
358+
.matches = {
359+
DMI_MATCH(DMI_BOARD_VENDOR, "Micro-Star International Co., Ltd."),
360+
DMI_MATCH(DMI_PRODUCT_NAME, "Bravo 17 D7VEK"),
361+
}
362+
},
356363
{
357364
.driver_data = &acp6x_card,
358365
.matches = {

sound/soc/codecs/chv3-codec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ static const struct of_device_id chv3_codec_of_match[] = {
2626
{ .compatible = "google,chv3-codec", },
2727
{ }
2828
};
29+
MODULE_DEVICE_TABLE(of, chv3_codec_of_match);
2930

3031
static struct platform_driver chv3_codec_platform_driver = {
3132
.driver = {

sound/soc/codecs/lpass-va-macro.c

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,13 @@ struct va_macro {
228228
struct va_macro_data {
229229
bool has_swr_master;
230230
bool has_npl_clk;
231+
int version;
231232
};
232233

233234
static const struct va_macro_data sm8250_va_data = {
234235
.has_swr_master = false,
235236
.has_npl_clk = false,
237+
.version = LPASS_CODEC_VERSION_1_0,
236238
};
237239

238240
static const struct va_macro_data sm8450_va_data = {
@@ -1587,7 +1589,14 @@ static int va_macro_probe(struct platform_device *pdev)
15871589
goto err_npl;
15881590
}
15891591

1590-
va_macro_set_lpass_codec_version(va);
1592+
/**
1593+
* old version of codecs do not have a reliable way to determine the
1594+
* version from registers, get them from soc specific data
1595+
*/
1596+
if (data->version)
1597+
lpass_macro_set_codec_version(data->version);
1598+
else /* read version from register */
1599+
va_macro_set_lpass_codec_version(va);
15911600

15921601
if (va->has_swr_master) {
15931602
/* Set default CLK div to 1 */

sound/soc/codecs/tda7419.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ static const struct of_device_id tda7419_of_match[] = {
623623
{ .compatible = "st,tda7419" },
624624
{ },
625625
};
626+
MODULE_DEVICE_TABLE(of, tda7419_of_match);
626627

627628
static struct i2c_driver tda7419_driver = {
628629
.driver = {

sound/soc/google/chv3-i2s.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ static const struct of_device_id chv3_i2s_of_match[] = {
322322
{ .compatible = "google,chv3-i2s" },
323323
{},
324324
};
325+
MODULE_DEVICE_TABLE(of, chv3_i2s_of_match);
325326

326327
static struct platform_driver chv3_i2s_driver = {
327328
.probe = chv3_i2s_probe,

sound/soc/intel/boards/bxt_rt298.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ static int broxton_audio_probe(struct platform_device *pdev)
605605
int i;
606606

607607
for (i = 0; i < ARRAY_SIZE(broxton_rt298_dais); i++) {
608-
if (card->dai_link[i].codecs->name &&
608+
if (card->dai_link[i].num_codecs &&
609609
!strncmp(card->dai_link[i].codecs->name, "i2c-INT343A:00",
610610
I2C_NAME_SIZE)) {
611611
if (!strncmp(card->name, "broxton-rt298",

sound/soc/intel/boards/bytcht_cx2072x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ static int snd_byt_cht_cx2072x_probe(struct platform_device *pdev)
241241

242242
/* fix index of codec dai */
243243
for (i = 0; i < ARRAY_SIZE(byt_cht_cx2072x_dais); i++) {
244-
if (byt_cht_cx2072x_dais[i].codecs->name &&
244+
if (byt_cht_cx2072x_dais[i].num_codecs &&
245245
!strcmp(byt_cht_cx2072x_dais[i].codecs->name,
246246
"i2c-14F10720:00")) {
247247
dai_index = i;

0 commit comments

Comments
 (0)