diff options
author | Simon Glass <sjg@chromium.org> | 2015-04-19 07:20:58 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-22 11:13:17 -0600 |
commit | 07d260e047680971d926bc9a573f9291f39fc988 (patch) | |
tree | 250495e7f5848a94c9fc65ca2012681bbe19add7 /drivers/usb | |
parent | a7b8250210cd1b449a06f7d20769944ebeca1a41 (diff) |
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>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions