Home
last modified time | relevance | path

Searched hist:"206 d4d2b4b30889678bb6b064002013a427b1501" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/test/dm/
H A Dtest-uclass.c206d4d2b4b30889678bb6b064002013a427b1501 Wed Mar 25 18:21:56 UTC 2015 Simon Glass <sjg@chromium.org> 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>
/rk3399_rockchip-uboot/drivers/core/
H A Ddevice.c206d4d2b4b30889678bb6b064002013a427b1501 Wed Mar 25 18:21:56 UTC 2015 Simon Glass <sjg@chromium.org> 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>