11 Jul
2013
11 Jul
'13
2:30 p.m.
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:
- 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).
Thanks, Péter