Re: [RFC PATCH 2/4] i2c: add docs to clarify DMA handling
From: Geert Uytterhoeven
Date: Tue Jun 06 2017 - 07:12:09 EST
Hi Wolfram,
On Tue, Jun 6, 2017 at 12:54 PM, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote:
>> So it won't fall back to PIO if CONFIG_DMA_API_DEBUG is enabled?
>
> No, it will complain loudly with more details about the same things (and
> some more). But for that to do, it cannot fall back to PIO.
>
> Otherwise, you might get the idea that all is fine since you enabled
> CONFIG_DMA_API_DEBUG but miss that most of you transfers fell back to
> PIO. That was my thinking...
Hmm....
I have it enabled all the time. So my devices may stop working...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
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