[alsa-devel] [PATCH] ASoC: Blackfin: bf5xx-ad193x: Fix codec device name
Girdwood, Liam
lrg at ti.com
Tue Sep 6 02:41:10 CEST 2011
On 5 September 2011 12:49, Lars-Peter Clausen <lars at metafoo.de> wrote:
> Fix the codec_name field of the dai_link to match the actual device name
> of the codec. Otherwise the card won't be instantiated.
>
> Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
> Cc: stable at kernel.org
> ---
> sound/soc/blackfin/bf5xx-ad193x.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/blackfin/bf5xx-ad193x.c
> b/sound/soc/blackfin/bf5xx-ad193x.c
> index a118a0f..5956584 100644
> --- a/sound/soc/blackfin/bf5xx-ad193x.c
> +++ b/sound/soc/blackfin/bf5xx-ad193x.c
> @@ -103,7 +103,7 @@ static struct snd_soc_dai_link bf5xx_ad193x_dai[] = {
> .cpu_dai_name = "bfin-tdm.0",
> .codec_dai_name ="ad193x-hifi",
> .platform_name = "bfin-tdm-pcm-audio",
> - .codec_name = "ad193x.5",
> + .codec_name = "spi0.5",
> .ops = &bf5xx_ad193x_ops,
> },
> {
> @@ -112,7 +112,7 @@ static struct snd_soc_dai_link bf5xx_ad193x_dai[] = {
> .cpu_dai_name = "bfin-tdm.1",
> .codec_dai_name ="ad193x-hifi",
> .platform_name = "bfin-tdm-pcm-audio",
> - .codec_name = "ad193x.5",
> + .codec_name = "spi0.5",
> .ops = &bf5xx_ad193x_ops,
> },
> };
> --
> 1.7.2.5
>
> Acked-by: Liam Girdwood <lrg at ti.com>
More information about the Alsa-devel
mailing list