]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Correct error handling when event fails
authorSimon Glass <sjg@chromium.org>
Thu, 24 Aug 2023 19:55:35 +0000 (13:55 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 25 Aug 2023 21:55:18 +0000 (17:55 -0400)
commitc837a1423c876669bfd963e1ded518b9e497946d
tree4dfb76d4c131c3a0d2db9ceb6968a8de0e378b7d
parentfbd644e7026f89f09cfa854fbf846449579f1684
dm: core: Correct error handling when event fails

Follow the correct path in device_probe() when and event handler fails.
This avoids getting into a strange state where the device appears to be
activated but is not.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c