[PATCH v3 1/2] mmc: mmci.c: Defer probe() in case of yet uninitialized GPIOs

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Jun 17 12:21:42 EDT 2012


On Sun, Jun 17, 2012 at 12:11:32PM +0200, Roland Stigge wrote:
> If the GPIOs used by the MMCI driver are not registered yet when the driver is
> probe()d, they can't be used. This happens if the mmci driver is probed before
> the respective GPIO controller (e.g. on the LPC32xx EA3250 board, the PCA9532
> GPIO controller would be initialized via DT after mmci). Therefore, we defer
> mmci in this case.

I'm much happier with this.  Provided the change to the GPIO OF stuff is
fine.



More information about the linux-arm-kernel mailing list