[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJKOXPfG8=n932bg99iQ2BqvA6rCOPpv1YD+Jajx=NxyN_+Mkw@mail.gmail.com>
Date: Mon, 11 Feb 2019 14:31:11 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Sylwester Nawrocki <s.nawrocki@...sung.com>
Cc: broonie@...nel.org, lgirdwood@...il.com, sbkim73@...sung.com,
Marek Szyprowski <m.szyprowski@...sung.com>,
Bartłomiej Żołnierkiewicz
<b.zolnierkie@...sung.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org,
"linux-samsung-soc@...r.kernel.org"
<linux-samsung-soc@...r.kernel.org>
Subject: Re: [PATCH 02/22] ASoC: dmaengine: Extend use of chan_names provided
in custom DMA config
On Thu, 7 Feb 2019 at 18:00, Sylwester Nawrocki <s.nawrocki@...sung.com> wrote:
>
> There are currently two ways to specify custom DMA channel names:
> - through the SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME flag and
> snd_dmaengine_dai_dma_data data structure,
> - through chan_names field of struct snd_dmaengine_pcm_config.
>
> In order to replace the DAI DMA data method with the custom DMA config
> one on non-DT platforms the dmaengine_pcm_new() function is extended
> to also consider channel names specified in the custom DMA config.
> If both config->chan_names and dma_data->chan_name are provided
> the former will be used.
>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@...sung.com>
> ---
> sound/soc/soc-generic-dmaengine-pcm.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
Acked-by: Krzysztof Kozlowski <krzk@...nel.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists