From: Nicolin Chen <Guangyu.Chen@freescale.com>
To: Xiubo Li <Li.Xiubo@freescale.com>
Cc: alsa-devel@alsa-project.org, broonie@kernel.org,
lgirdwood@gmail.com, timur@tabi.org
Subject: Re: [PATCH] ASoC: fsl: use snd_soc_dai_init_dma_data()
Date: Tue, 21 Jan 2014 13:52:02 +0800 [thread overview]
Message-ID: <20140121055201.GA335@MrMyself> (raw)
In-Reply-To: <1390202846-31670-1-git-send-email-Li.Xiubo@freescale.com>
On Mon, Jan 20, 2014 at 03:27:26PM +0800, Xiubo Li wrote:
> Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Acked-by: Nicolin Chen <Guangyu.Chen@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
>
>
next prev parent reply other threads:[~2014-01-21 6:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-20 7:27 [PATCH] ASoC: fsl: use snd_soc_dai_init_dma_data() Xiubo Li
2014-01-21 5:52 ` Nicolin Chen [this message]
2014-01-21 18:44 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140121055201.GA335@MrMyself \
--to=guangyu.chen@freescale.com \
--cc=Li.Xiubo@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=timur@tabi.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.