[alsa-devel] [PATCH] ASoC: fsl: use snd_soc_dai_init_dma_data()

Nicolin Chen Guangyu.Chen at freescale.com
Tue Jan 21 06:52:02 CET 2014


On Mon, Jan 20, 2014 at 03:27:26PM +0800, Xiubo Li wrote:
> Signed-off-by: Xiubo Li <Li.Xiubo at freescale.com>

Acked-by: Nicolin Chen <Guangyu.Chen at freescale.com>

> ---
>  sound/soc/fsl/fsl_spdif.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c
> index 4d075f1..8f36f49 100644
> --- a/sound/soc/fsl/fsl_spdif.c
> +++ b/sound/soc/fsl/fsl_spdif.c
> @@ -911,8 +911,8 @@ static int fsl_spdif_dai_probe(struct snd_soc_dai *dai)
>  {
>  	struct fsl_spdif_priv *spdif_private = snd_soc_dai_get_drvdata(dai);
>  
> -	dai->playback_dma_data = &spdif_private->dma_params_tx;
> -	dai->capture_dma_data = &spdif_private->dma_params_rx;
> +	snd_soc_dai_init_dma_data(dai, &spdif_private->dma_params_tx,
> +				  &spdif_private->dma_params_rx);
>  
>  	snd_soc_add_dai_controls(dai, fsl_spdif_ctrls, ARRAY_SIZE(fsl_spdif_ctrls));
>  
> -- 
> 1.8.4
> 
> 



More information about the Alsa-devel mailing list