Skip to content

Commit 04f9196

Browse files
committed
Merge tag 'asoc-fix-v6.16-rc5' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.16 Two patches here, one quirk for an AMD system and a fix for an issue on remove of the AVS driver.
2 parents 19c4096 + a609bd7 commit 04f9196

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
416416
DMI_MATCH(DMI_PRODUCT_NAME, "M6500RC"),
417417
}
418418
},
419+
{
420+
.driver_data = &acp6x_card,
421+
.matches = {
422+
DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
423+
DMI_MATCH(DMI_PRODUCT_NAME, "M6501RM"),
424+
}
425+
},
419426
{
420427
.driver_data = &acp6x_card,
421428
.matches = {

sound/soc/intel/avs/pcm.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,11 +1570,13 @@ static void avs_component_hda_unregister_dais(struct snd_soc_component *componen
15701570
{
15711571
struct snd_soc_acpi_mach *mach;
15721572
struct snd_soc_dai *dai, *save;
1573+
struct avs_mach_pdata *pdata;
15731574
struct hda_codec *codec;
15741575
char name[32];
15751576

15761577
mach = dev_get_platdata(component->card->dev);
1577-
codec = mach->pdata;
1578+
pdata = mach->pdata;
1579+
codec = pdata->codec;
15781580
snprintf(name, sizeof(name), "%s-cpu", dev_name(&codec->core.dev));
15791581

15801582
for_each_component_dais_safe(component, dai, save) {

0 commit comments

Comments
 (0)