u-boot-brain/drivers/core
Simon Glass 206d4d2b4b dm: core: Mark device as active before calling uclass probe() methods
The uclass pre-probe functions may end up calling back into the device in
some circumstances. This can fail if recursion takes place. Adjust the
ordering so that we mark the device as active early, then retract this
later if needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
2015-04-18 11:11:19 -06:00
..
device-remove.c dm: core: Convert driver_bind() to use const 2015-04-18 11:11:19 -06:00
device.c dm: core: Mark device as active before calling uclass probe() methods 2015-04-18 11:11:19 -06:00
Kconfig kconfig: remove unneeded dependency on !SPL_BUILD 2015-02-24 17:06:27 -05:00
lists.c dm: core: Rename driver data function to dev_get_driver_data() 2015-04-18 11:11:19 -06:00
Makefile dm: Allow device removal features to be dropped 2014-11-21 08:13:02 +01:00
root.c dm: Add support for all targets which requires MANUAL_RELOC 2015-02-12 15:17:29 -07:00
simple-bus.c dm: core: Add support for simple-bus 2014-10-22 10:36:56 -06:00
uclass.c dm: core: Add a uclass pre_probe() method for devices 2015-04-16 19:27:42 -06:00
util.c dm: Add base driver model support 2014-03-04 12:15:29 -05:00