* [PATCH] ASoC: fsl: use snd_soc_dai_init_dma_data()
@ 2014-01-20 7:27 Xiubo Li
2014-01-21 5:52 ` Nicolin Chen
2014-01-21 18:44 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Xiubo Li @ 2014-01-20 7:27 UTC (permalink / raw)
To: lgirdwood, broonie, Guangyu.Chen, timur; +Cc: alsa-devel, Xiubo Li
Signed-off-by: Xiubo Li <Li.Xiubo@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
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: fsl: use snd_soc_dai_init_dma_data()
2014-01-20 7:27 [PATCH] ASoC: fsl: use snd_soc_dai_init_dma_data() Xiubo Li
@ 2014-01-21 5:52 ` Nicolin Chen
2014-01-21 18:44 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Nicolin Chen @ 2014-01-21 5:52 UTC (permalink / raw)
To: Xiubo Li; +Cc: alsa-devel, broonie, lgirdwood, timur
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
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: fsl: use snd_soc_dai_init_dma_data()
2014-01-20 7:27 [PATCH] ASoC: fsl: use snd_soc_dai_init_dma_data() Xiubo Li
2014-01-21 5:52 ` Nicolin Chen
@ 2014-01-21 18:44 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2014-01-21 18:44 UTC (permalink / raw)
To: Xiubo Li; +Cc: alsa-devel, timur, lgirdwood, Guangyu.Chen
[-- Attachment #1.1: Type: text/plain, Size: 127 bytes --]
On Mon, Jan 20, 2014 at 03:27:26PM +0800, Xiubo Li wrote:
> Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-21 18:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-20 7:27 [PATCH] ASoC: fsl: use snd_soc_dai_init_dma_data() Xiubo Li
2014-01-21 5:52 ` Nicolin Chen
2014-01-21 18:44 ` Mark Brown
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.