[PATCH 5/5] RFC spi: sun4i: add DMA support
Geert Uytterhoeven
geert at linux-m68k.org
Mon May 30 05:11:51 PDT 2016
Hi Mark,
On Mon, May 30, 2016 at 1:26 PM, Mark Brown <broonie at kernel.org> wrote:
> On Thu, May 26, 2016 at 07:25:25PM -0000, Michal Suchanek wrote:
>> - fallback to previous behaviour when DMA initialization fails
>>
>> + this has the problem that when the driver happens to load before the dma
>> driver it will not use dma - can be addressed with a module parameter
>
> No, you should pay attention to the error you are getting and let probe
> deferral happen if that's the error you get.
Unfortunately DMA is an optional feature.
There's no way to distinguish between -EPROBE_DEFER due to the SPI master
driver being probed before the DMA engine driver, and -EPROBE_DEFER due to
support for the DMA engine not having been compiled in.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the linux-arm-kernel
mailing list