Skip to content
Commit 07d260e0 authored by Simon Glass's avatar Simon Glass
Browse files

dm: core: Handle recursive unbinding of uclass devices



Since a device can have children in the same uclass as itself, we need
to handle unbinding carefully: we must allow that unbinding a device in a
uclass may cause another device in the same uclass to be unbound.

Adjust the code to cope.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Tested-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent a7b82502
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment