]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7427/1: mmc: mmci: Defer probe() in case of yet uninitialized GPIOs
authorRoland Stigge <stigge@antcom.de>
Sun, 17 Jun 2012 20:14:27 +0000 (21:14 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 17 Jun 2012 21:24:36 +0000 (22:24 +0100)
commit1b15045f69e7379d16525b6fc60e4405c05e8775
tree530969093dd7d83fdf558adade2a712faf8832e3
parent3241a3823217a2996c43333e83e2746a4e2c6811
ARM: 7427/1: mmc: mmci: Defer probe() in case of yet uninitialized GPIOs

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.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c