VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: carter.li <carter.li@starfivetech.com> 2023-07-27 17:38:23 +0800 committer: carter.li <carter.li@starfivetech.com> 2023-08-14 15:19:04 +0800 commit: 4e78e41d8b913388728b04244f55b049754b107d parent: b488ec5f626dbcd50de8aba3322dd081a02562c2
Commit Summary:
sound:simple card: fix cannot register pwmdac and hdmi snd card
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 8e6dd8a257c5..e76077e41e06 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -651,6 +651,8 @@ struct snd_soc_dai_link {
 	struct snd_soc_dai_link_component *platforms;
 	unsigned int num_platforms;
 
+	unsigned int no_plat;
+
 	int id;	/* optional ID for machine driver link identification */
 
 	const struct snd_soc_pcm_stream *params;