[alsa-devel] [PATCH 3/4] ASoC: SAMSUNG: Change platform driver for SMDKs

Jassi Brar jassisinghbrar at gmail.com
Fri Jun 10 12:43:31 CEST 2011


On Fri, Jun 10, 2011 at 3:46 PM, Mark Brown
<broonie at 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.


More information about the Alsa-devel mailing list