u-boot/drivers/core
Masahiro Yamada 1f5dd4700a dm: do not set DM_FLAG_ACTIVATED twice
Currently, DM_FLAG_ACTIVATED is set twice; before calling
uclass_pre_probe_device() and again before calling drv->probe().

It looks like Simon's intention is the first one.
The DM_FLAG_ACTIVATED was moved twice, by commit 02eeb1bbb1
(dm: core: Mark device as active before calling its probe()
method), and then by commit 206d4d2b4b (dm: core: Mark device
as active before calling uclass probe() methods).
The first marking was added by the last move.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
2015-07-21 17:39:34 -06:00
..
device-remove.c dm: core: Extend struct udevice by '.uclass_platdata' field. 2015-04-22 11:03:14 -06:00
device.c dm: do not set DM_FLAG_ACTIVATED twice 2015-07-21 17:39:34 -06:00
dump.c dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00
Kconfig dm: core: Allow sequence alias support to be removed for SPL 2015-04-23 09:05:51 -06:00
lists.c dm: core: Use debug() instead of printf() for failures 2015-07-21 17:39:22 -06:00
Makefile dm: Add support for generic system controllers (syscon) 2015-07-21 17:39:24 -06:00
regmap.c dm: Add support for register maps (regmap) 2015-07-21 17:39:23 -06:00
root.c dm: core: Select device tree control correctly for SPL 2015-04-23 09:05:54 -06:00
simple-bus.c dm: core: Add support for simple-bus 2014-10-22 10:36:56 -06:00
syscon-uclass.c dm: core: Add device checking to syscon_get_regmap() 2015-07-21 17:39:33 -06:00
uclass.c dm: change dm_warn() message into debug() in uclass_add() 2015-07-21 17:39:34 -06:00
util.c dm: Add base driver model support 2014-03-04 12:15:29 -05:00