Files
u-boot-tk1-som/drivers
Bin Meng cdeb2ba99c dm: core: Fix code reentrancy issue in device_probe_child()
The device might have already been probed during the call to
device_probe() on its parent device (e.g. PCI bridge devices).
In its parent device's probe routine, it might probe all of
its child devices via device_probe() thus the codes reenter
device_probe_child(). To support code reentrancy, test these
allocated memory against NULL to avoid memory leak, and return
to the caller if dev->flags has DM_FLAG_ACTIVATED set after
device_probe() returns, so that we don't mess up the device.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
2015-08-26 07:54:17 -07:00
..
2015-08-23 11:56:19 +02:00
2015-07-27 15:53:52 -07:00
2015-08-18 13:45:55 -04:00
2015-04-10 14:23:23 +02:00
2015-05-26 14:13:12 +02:00
2015-08-26 07:54:17 -07:00
2015-07-21 17:39:29 -06:00