mmc: sdhci-iproc: handle mmc_of_parse() errors during probe
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 23 Dec 2018 20:59:17 +0000 (21:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2019 16:30:14 +0000 (17:30 +0100)
commit50a874a4aa28684f2111904b5c87a7093f53a507
tree7ac20a9e90e7c60fa04feeb2545128a28d3288c1
parent8a32f086ff7e7df4c2f6a8797fbe68145e0534be
mmc: sdhci-iproc: handle mmc_of_parse() errors during probe

commit 2bd44dadd5bfb4135162322fd0b45a174d4ad5bf upstream.

We need to handle mmc_of_parse() errors during probe.

This finally fixes the wifi regression on Raspberry Pi 3 series.
In error case the wifi chip was permanently in reset because of
the power sequence depending on the deferred probe of the GPIO expander.

Fixes: b580c52d58d9 ("mmc: sdhci-iproc: add IPROC SDHCI driver")
Cc: stable@vger.kernel.org
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-iproc.c