[U-Boot] [PATCH 1/5] dm: core: Handle recursive unbinding of uclass devices

Joe Hershberger joe.hershberger at gmail.com
Tue Apr 21 17:30:20 CEST 2015


Hi Simon,

On Sun, Apr 19, 2015 at 8:20 AM, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>

This fixed the seg fault I was seeing. Thanks!

Reviewed-by: Joe Hershberger <joe.hershberger at ni.com>
Tested-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list