Re: [PATCH] DMA: add help function to check whether dma controller registered

2013-08-04 Thread Richard Zhao
On Sat, Aug 03, 2013 at 03:59:59AM +0800, Stephen Warren wrote: > On 08/02/2013 12:04 AM, Richard Zhao wrote: > > DMA client device driver usually needs to know at probe time whether > > dma controller has been registered to deffer probe. So add a help > > function of_dma_check_controller. > > > >

Re: [PATCH] DMA: add help function to check whether dma controller registered

2013-08-02 Thread Stephen Warren
On 08/02/2013 12:04 AM, Richard Zhao wrote: > DMA client device driver usually needs to know at probe time whether > dma controller has been registered to deffer probe. So add a help > function of_dma_check_controller. > > DMA request channel functions can also used to check it, but they > are usu

[PATCH] DMA: add help function to check whether dma controller registered

2013-08-01 Thread Richard Zhao
DMA client device driver usually needs to know at probe time whether dma controller has been registered to deffer probe. So add a help function of_dma_check_controller. DMA request channel functions can also used to check it, but they are usually called at open() time. Signed-off-by: Richard Zhao