From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH 50/54 v2] ASoC: switch over to use snd_soc_register_component() on tegra20 ac97 Date: Thu, 21 Mar 2013 11:03:36 -0600 Message-ID: <514B3D68.9080104@wwwdotorg.org> References: <87txo96xiu.wl%kuninori.morimoto.gx@renesas.com> <8738vpf3qd.wl%kuninori.morimoto.gx@renesas.com> <8738vpca2z.wl%kuninori.morimoto.gx@renesas.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from avon.wwwdotorg.org (avon.wwwdotorg.org [70.85.31.133]) by alsa0.perex.cz (Postfix) with ESMTP id 97C05265F9E for ; Thu, 21 Mar 2013 18:03:39 +0100 (CET) In-Reply-To: <8738vpca2z.wl%kuninori.morimoto.gx@renesas.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Lucas Stach Cc: Linux-ALSA , Lars-Peter Clausen , Kuninori Morimoto , Mark Brown , Peter Ujfalusi , Simon , Liam Girdwood , Kuninori Morimoto List-Id: alsa-devel@alsa-project.org On 03/21/2013 04:37 AM, Kuninori Morimoto wrote: Lucas, can you please test this to make sure that the change from snd_soc_register_dais() to snd_soc_register_dai() (the latter inside snd_soc_register_component()) coupled with the change to the tegra_wm9712.c machine driver yields the correct results. Thanks. > diff --git a/sound/soc/tegra/tegra20_ac97.c b/sound/soc/tegra/tegra20_ac97.c > - ret = snd_soc_register_dais(&pdev->dev, &tegra20_ac97_dai, 1); > + ret = snd_soc_register_component(&pdev->dev, &tegra20_ac97_component, > + &tegra20_ac97_dai, 1); > diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c > static struct snd_soc_dai_link tegra_wm9712_dai = { > .name = "AC97 HiFi", > .stream_name = "AC97 HiFi", > - .cpu_dai_name = "tegra-ac97-pcm", > + .cpu_dai_name = "tegra20-ac97",