Re: [U-Boot] [PATCH] w1-eeprom: ds24xxx: fix data abort in ds24xxx_probe()

2018-10-22 Thread Eugen.Hristev
On 22.10.2018 19:31, Martin Fuzzey wrote: > Data abort was occurring when using "w1 bus" with a DS24B33 present. > > The abort occurred in the ds24xxx_probe() because the struct w1_device > pointer was NULL. This is because that structure is allocated by > the parent device uclass (by .per_chil

[U-Boot] [PATCH] w1-eeprom: ds24xxx: fix data abort in ds24xxx_probe()

2018-10-22 Thread Martin Fuzzey
Data abort was occurring when using "w1 bus" with a DS24B33 present. The abort occurred in the ds24xxx_probe() because the struct w1_device pointer was NULL. This is because that structure is allocated by the parent device uclass (by .per_child_platdata_auto_alloc_size) and thus the correct acces