[PATCH v3 1/2] mmc: mmci.c: Defer probe() in case of yet uninitialized GPIOs
From: Russell King - ARM Linux <hidden>
Date: 2012-06-17 16:23:22
Also in:
linux-mmc, lkml
From: Russell King - ARM Linux <hidden>
Date: 2012-06-17 16:23:22
Also in:
linux-mmc, lkml
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.