Skip to content
Snippets Groups Projects
Commit dc642c28 authored by Jan Luebbe's avatar Jan Luebbe Committed by Chris Ball
Browse files

mmc: omap_hsmmc: support deferred probing for GPIOs


If the CD/WP-GPIOs are not provided by the SoC's GPIO controller,
we need to handle the case where omap_hsmmc is probed earlier than
the GPIO controller chosen in the device tree.

Fix this by checking the return value of of_get_named_gpio against
-EPROBE_DEFER and passing it through to the probe function.

Signed-off-by: default avatarJan Luebbe <jlu@pengutronix.de>
Acked-by: default avatarBalaji T K <balajitk@ti.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 0aacd23f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment