On Fri, Jun 10, 2011 at 3:46 PM, Mark Brown broonie@opensource.wolfsonmicro.com wrote:
On Fri, Jun 10, 2011 at 03:42:27PM +0530, Jassi Brar wrote:
On Fri, Jun 10, 2011 at 3:19 PM, Mark Brown
If iDMA is always a better choice on CPUs that support it then the cpu_is_() macros might be a good way to make the selection?
Actually I remembered just after I posted - iDMA wouldn't support capture. So iDMA is a bad choice after all.
So I guess the relevant boards would be better off adding a separate DAI to allow applications to select the DAI they want at runtime?
oops! he is changing platform driver for the secondary i/f which doesn't support capture in the first place. So I think it can be done, though we need to see if it would be better to provide a way(control ?) to userspace to select between sys/internal dma.