Re: [resend][PATCH 01/16] dw_dmac: call .probe after we have adevice in place

From: Vinod Koul
Date: Sat Jan 12 2013 - 07:55:15 EST


On Thu, Jan 10, 2013 at 02:04:53PM +0530, Viresh Kumar wrote:
> On 9 January 2013 21:08, Vinod Koul <vinod.koul@xxxxxxxxx> wrote:
> >> >> subsys_initcall(dw_init);
> > Viresh, Linus
> >
> > We had this discussion sometime back. pl022 use dma and we need DMA before SPI.
> > So if we have pl022 as late_init and dma as device_init. If we have one more
> > dependency then moving dw_dmac to fs_init should help too. But arch/subsys seems
> > overkill here?
>
> We probably can't make spi late_init as they may be others waiting for
> it to be in. And
> so did subsys_init for dma. fs is for filesystem? then that may not be
> logically correct too.
well subsys_init doesnt seem to be logical for dma driver too!

--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/