[PATCH 2/3] mmc: atmel-mci: stop using specific initcall

Ludovic Desroches ludovic.desroches at atmel.com
Thu Nov 20 06:01:25 PST 2014


On Thu, Nov 20, 2014 at 12:10:25PM +0100, Arnd Bergmann wrote:
> On Thursday 20 November 2014 11:07:54 Ludovic Desroches wrote:
> > No more use late initcall to manage probing order. Use probe deferring
> > if needed. Then use module_platform_driver and clean init/exit
> > attributes.
> > 
> > Signed-off-by: Ludovic Desroches <ludovic.desroches at atmel.com>
> > 
> 
> Do we need this backported into stable kernels? It seems that
> the __init/__exit annotations will break things if you ever
> tried to unbind the device or run into deferred probing on
> earlier kernels.

Well, it is a bit complicated, if we backport it, then the mci driver
could be probed before the dma controller. Requesting dma chan will fail
and it will switch to pio mode.

So it has to be backported with the probe deferring. The issue is
that probe deferring patch is based on other patches removing non-dt
support which become useless only ine 3.19.


Ludovic



More information about the linux-arm-kernel mailing list