Re: [PATCH 3/4 v7] ASoC: dwc: Add PIO PCM extension

From: Mark Brown
Date: Wed May 25 2016 - 06:18:48 EST


On Wed, May 25, 2016 at 11:11:47AM +0100, Jose Abreu wrote:

> I think I will take the second option. Something like this:
> "
> ret = snd_dmaengine_pcm_register(...)
> if (ret == -EPROBE_DEFER)
> return ret;
> else
> pio_register(...);
> "?

Sure. You should print a diagnostic if you fail to get the DMA, for any
real system it's going to be a bug.

Attachment: signature.asc
Description: PGP signature