[alsa-devel] [PATCH] ASoC: OMAP: Fix Gumstix Overo machine driver by using snd_soc_dai struct (rev 2)

Tony Lindgren tony at atomide.com
Sat Sep 13 02:00:17 CEST 2008


* Steve Sakoman <sakoman at gmail.com> [080912 14:04]:
> From: Jarkko Nikula <jarkko.nikula at nokia.com>
> 
> Structs snd_soc_codec_dai and snd_soc_cpu_dai are obsolete and are merged to
> snd_soc_dai by the commit 8687eb8bded8c3c5842a85bd0c30e43fc5a3e0e0.
> 

Pushing today to l-o tree.

Tony

> Signed-off-by: Jarkko Nikula <jarkko.nikula at nokia.com>
> Acked-by: Steve Sakoman <steve at sakoman.com>
> ---
>  sound/soc/omap/overo.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/omap/overo.c b/sound/soc/omap/overo.c
> index 542ff6b..1a086ce 100644
> --- a/sound/soc/omap/overo.c
> +++ b/sound/soc/omap/overo.c
> @@ -39,8 +39,8 @@ static int overo_hw_params(struct snd_pcm_substream
> *substream,
>  	struct snd_pcm_hw_params *params)
>  {
>  	struct snd_soc_pcm_runtime *rtd = substream->private_data;
> -	struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai;
> -	struct snd_soc_cpu_dai *cpu_dai = rtd->dai->cpu_dai;
> +	struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;
> +	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
>  	int ret;
> 
>  	/* Set codec DAI configuration */
> -- 
> 1.5.6.5
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


More information about the Alsa-devel mailing list