[alsa-devel] [PATCH v2]ASoC:blackfin:add ad73311 card driver name

Liam Girdwood lrg at ti.com
Tue Sep 13 18:11:36 CEST 2011


On Tue, 2011-09-13 at 14:59 -0400, Scott Jiang wrote:
> 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 at 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,

Acked-by: Liam Girdwood <lrg at ti.com>



More information about the Alsa-devel mailing list