Searched hist:"586 d4b01" (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/drivers/w1-eeprom/ |
H A D | ds24xxx.c | 586d4b01 Mon Oct 22 11:31:07 CDT 2018 Martin Fuzzey <martin.fuzzey@flowbird.group> w1-eeprom: ds24xxx: fix data abort in ds24xxx_probe() 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 accessor is dev_get_parent_platdata() not dev_get_platdata() Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group> Reviewed-by: Eugen Hristev <eugen.hristev@microchip.com>
|