[alsa-devel] [PATCH v2 2/2][RFC] ASoC: wm8978: use component

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Sep 3 03:44:25 CEST 2013


wm8978 codec includes component by this patch.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
 sound/soc/codecs/wm8978.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sound/soc/codecs/wm8978.c b/sound/soc/codecs/wm8978.c
index d8fc531..71a04ab 100644
--- a/sound/soc/codecs/wm8978.c
+++ b/sound/soc/codecs/wm8978.c
@@ -1022,6 +1022,10 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8978 = {
 	.num_dapm_widgets = ARRAY_SIZE(wm8978_dapm_widgets),
 	.dapm_routes = wm8978_dapm_routes,
 	.num_dapm_routes = ARRAY_SIZE(wm8978_dapm_routes),
+
+	.component_driver = {
+		.name = "wm8978",
+	},
 };
 
 static const struct regmap_config wm8978_regmap_config = {
-- 
1.7.9.5



More information about the Alsa-devel mailing list