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>
Loading
Please register or sign in to comment