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

Simon Glass sjg at chromium.org
Wed Apr 22 20:01:30 CEST 2015


On 21 April 2015 at 09:30, Joe Hershberger <joe.hershberger at gmail.com> wrote:
> 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>

Applied to u-boot-dm.


More information about the U-Boot mailing list