We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44567d3 commit 5498a4eCopy full SHA for 5498a4e
sound/soc/intel/boards/sof_rt5682.c
@@ -698,6 +698,20 @@ static int sof_audio_probe(struct platform_device *pdev)
698
699
/* overwrite the DAI link order for GLK boards */
700
ctx->link_order_overwrite = GLK_LINK_ORDER;
701
+
702
+ /* backward-compatible with existing devices */
703
+ switch (ctx->amp_type) {
704
+ case CODEC_MAX98357A:
705
+ card_name = devm_kstrdup(&pdev->dev, "glkrt5682max",
706
+ GFP_KERNEL);
707
+ if (!card_name)
708
+ return -ENOMEM;
709
710
+ sof_audio_card_rt5682.name = card_name;
711
+ break;
712
+ default:
713
714
+ }
715
} else if (soc_intel_is_cml()) {
716
/* backward-compatible with existing devices */
717
switch (ctx->amp_type) {
0 commit comments