commit | 07d260e047680971d926bc9a573f9291f39fc988 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Apr 19 07:20:58 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Apr 22 11:13:17 2015 -0600 |
tree | 250495e7f5848a94c9fc65ca2012681bbe19add7 | |
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>