Re: [PATCH] dma-buf: heaps: Initialize during core instead of subsys

From: John Stultz
Date: Fri Apr 24 2020 - 20:26:03 EST


On Fri, Apr 24, 2020 at 3:18 PM Andrew F. Davis <afd@xxxxxx> wrote:
>
> Some clients of DMA-Heaps probe earlier than subsys_initcall(), this
> can cause issues when these clients call dma_heap_add() before the
> core DMA-Heaps framework has initialized. DMA-Heaps should initialize
> during core startup to get ahead of all users.
>
> Signed-off-by: Andrew F. Davis <afd@xxxxxx>

No objection from me right off.

Acked-by: John Stultz <john.stultz@xxxxxxxxxx>

thanks
-john