Re: [PATCH 2/2] dma-debug: prevent early callers from crashing

2014-11-14 Thread Florian Fainelli
On 11/13/2014 08:31 PM, Florian Fainelli wrote: > dma_debug_init() is called by architecture specific code at different > levels, but typically as a fs_initcall due to the debugfs > initialization. Some platforms may have early callers of the DMA-API, > running prior to the fs_initcall() level,

Re: [PATCH 2/2] dma-debug: prevent early callers from crashing

2014-11-14 Thread Florian Fainelli
On 11/13/2014 08:31 PM, Florian Fainelli wrote: dma_debug_init() is called by architecture specific code at different levels, but typically as a fs_initcall due to the debugfs initialization. Some platforms may have early callers of the DMA-API, running prior to the fs_initcall() level, which

[PATCH 2/2] dma-debug: prevent early callers from crashing

2014-11-13 Thread Florian Fainelli
dma_debug_init() is called by architecture specific code at different levels, but typically as a fs_initcall due to the debugfs initialization. Some platforms may have early callers of the DMA-API, running prior to the fs_initcall() level, which is not much of an issue unless CONFIG_DMA_API_DEBUG

[PATCH 2/2] dma-debug: prevent early callers from crashing

2014-11-13 Thread Florian Fainelli
dma_debug_init() is called by architecture specific code at different levels, but typically as a fs_initcall due to the debugfs initialization. Some platforms may have early callers of the DMA-API, running prior to the fs_initcall() level, which is not much of an issue unless CONFIG_DMA_API_DEBUG