Hi Arnd Cc Magnus, Simon
Doing this will require marking that function as EXPORT_SYMBOL_GPL(), but I see no problem with that.
I see you use dma_request_slave_channel_compat here. Does that mean you have to support boards with this sound device that do not use DT? If so, you will also have to split the request function like
if (of_node) chan = of_dma_request_slave_channel(of_node, "rx"); else chan = dma_request_channel(mask, filter, arg);
Hmm... I can do this. Current sound driver is used for Gen1 / Gen2 board. Today, all Gen2 boards are boot from DT. My last concern is Gen1 which boot from non-DT. But today, Gen1 board (= bockw) can boot from DT (?)
Simon, Magnus
I think bockw can boot from DT today, and legacy bockw (= non-DT) code will be removed from upstream ? If so, sound driver can care only DT. anyway, sound driver doesn't need dma_request_slave_channel_compat() anymore ?