u-boot-brain/drivers/w1-eeprom
Martin Fuzzey 586d4b010e 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>
2018-11-01 10:02:10 -04:00
..
ds24xxx.c w1-eeprom: ds24xxx: fix data abort in ds24xxx_probe() 2018-11-01 10:02:10 -04:00
eep_sandbox.c W1-EEPROM: add sandbox driver 2018-09-28 20:22:36 -04:00
Kconfig W1-EEPROM: add sandbox driver 2018-09-28 20:22:36 -04:00
Makefile W1-EEPROM: add sandbox driver 2018-09-28 20:22:36 -04:00
w1-eeprom-uclass.c W1-EEPROM: Add an W1-EEPROM uclass for 1 wire EEPROMs 2018-09-28 20:22:35 -04:00