]> Git Repo - J-u-boot.git/commit
dm: core: Handle recursive unbinding of uclass devices
authorSimon Glass <[email protected]>
Sun, 19 Apr 2015 13:20:58 +0000 (07:20 -0600)
committerSimon Glass <[email protected]>
Wed, 22 Apr 2015 17:13:17 +0000 (11:13 -0600)
commit07d260e047680971d926bc9a573f9291f39fc988
tree250495e7f5848a94c9fc65ca2012681bbe19add7
parenta7b8250210cd1b449a06f7d20769944ebeca1a41
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 <[email protected]>
Reviewed-by: Joe Hershberger <[email protected]>
Tested-by: Joe Hershberger <[email protected]>
drivers/core/uclass.c
This page took 0.033994 seconds and 4 git commands to generate.