bcm2835-mmc: Honor return value of mmc_of_parse()
authorLukas Wunner <lukas@wunner.de>
Sat, 14 Jan 2023 09:03:46 +0000 (10:03 +0100)
committerPhil Elwell <phil@raspberrypi.com>
Sat, 14 Jan 2023 16:39:00 +0000 (16:39 +0000)
commit76d59119c2f0be67e2304d4d793b2f07663de7ce
tree2c27348e656d0750e8cfcea611e06594eabbab01
parentda4c8e0ffe7a868b989211045657d600be3046a1
bcm2835-mmc: Honor return value of mmc_of_parse()

bcm2835_mmc_probe() ignores errors returned by mmc_of_parse() and in
particular ignores -EPROBE_DEFER, which may be returned if the power
sequencing driver configured in the devicetree is compiled as a module.

The user-visible result is that access to the SDIO device fails because
its power sequencing requirements have not been observed.  Fix it.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
drivers/mmc/host/bcm2835-mmc.c