Re: (Optional?) DMA vs. PIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 08, 2020 at 06:05:39PM +0300, Andy Shevchenko wrote:

> My main concern is what was the idea behind? Does it mean we support optional
> DMA in such case? If now, why not to return an error code directly?

...

> no idea, the code has been this way since 2013
> (5eda87b890f867b098e5566b5543642851e8b9c3)

That's "ASoC: dmaengine: support deferred probe for DMA channels" for
those playing at home.  It's been that way since before then since
previously we ignored errors entirely.

> It's worth asking the question on the mailing list, I don't know if this is a
> bug or a feature.

I'm fairly sure it's intentional for systems with limited DMA channels
available but ICBW, it's obviously been quite some time.  In retrospect
a comment explaining the decision would have been a good idea.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux