alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2]ASoC:blackfin:add ad73311 card driver name
@ 2011-09-13 18:59 Scott Jiang
  2011-09-13 10:53 ` Mark Brown
  2011-09-13 16:11 ` Liam Girdwood
  0 siblings, 2 replies; 7+ messages in thread
From: Scott Jiang @ 2011-09-13 18:59 UTC (permalink / raw)
  To: Takashi Iwai, Mark Brown; +Cc: uclinux-dist-devel, alsa-devel, Scott Jiang

Add driver_name in snd_soc_card, asoc will copy this name to driver field of snd_card.
ALSA lib need this info to load the proper card config.

Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
---
 sound/soc/blackfin/bf5xx-ad73311.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/blackfin/bf5xx-ad73311.c b/sound/soc/blackfin/bf5xx-ad73311.c
index 732a247..975c6e8 100644
--- a/sound/soc/blackfin/bf5xx-ad73311.c
+++ b/sound/soc/blackfin/bf5xx-ad73311.c
@@ -192,6 +192,7 @@ static struct snd_soc_dai_link bf5xx_ad73311_dai[] = {
 
 static struct snd_soc_card bf5xx_ad73311 = {
 	.name = "bfin-ad73311",
+	.driver_name = "AD73311",
 	.probe = bf5xx_probe,
 	.dai_link = &bf5xx_ad73311_dai[CONFIG_SND_BF5XX_SPORT_NUM],
 	.num_links = 1,
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-16  9:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-13 18:59 [PATCH v2]ASoC:blackfin:add ad73311 card driver name Scott Jiang
2011-09-13 10:53 ` Mark Brown
2011-09-14  3:27   ` Scott Jiang
2011-09-15 10:00     ` Mark Brown
2011-09-16  3:53       ` Scott Jiang
2011-09-16  9:47         ` Mark Brown
2011-09-13 16:11 ` Liam Girdwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).