Searched hist:"07 d260e047680971d926bc9a573f9291f39fc988" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | uclass.c | 07d260e047680971d926bc9a573f9291f39fc988 Sun Apr 19 13:20:58 UTC 2015 Simon Glass <sjg@chromium.org> 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: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Tested-by: Joe Hershberger <joe.hershberger@ni.com>
|