[alsa-devel] [PATCH 2/6] ASoC: omap-pcm: Request the DMA channel by name when dma_name is set for the dai

Peter Ujfalusi peter.ujfalusi at ti.com
Thu Jul 11 14:30:18 CEST 2013

On 07/11/2013 01:13 PM, Lars-Peter Clausen wrote:
> I'd prefer not having to have to add a field for a OMAP specific hack to the
> generic struct.

I thought that it might be usable for others later, but yeah. It is OMAP
specific right now.

> Two options which are  in my opinion better:
> 1) Just use filter_data in both cases and check rtd->cpu_dai->dev.of_node to
> see whether to use it as the name to dma_request_slave_channel or as
> filter_data for snd_dmaengine_pcm_open_request_chan.

I'll stick with this one since I do not want to create a header file just for
the omap_pcm_filter_data...
I'll send the v2 in a couple of minutes (I have already tested it).


More information about the Alsa-devel mailing list