diff options
| author | Keerthy <j-keerthy@ti.com> | 2020-01-10 14:52:05 +0530 |
|---|---|---|
| committer | Lokesh Vutla <lokeshvutla@ti.com> | 2020-01-20 10:10:28 +0530 |
| commit | 17aaa42e76ac7b4e4f821df8a19bea752c2e9888 (patch) | |
| tree | 871bcabd4f486688e296e9f2c8d58c98f52cc371 /scripts/const_structs.checkpatch | |
| parent | 95b256ec3ff71d026f6b9750ae3c610d13bf8b32 (diff) | |
| download | u-boot-17aaa42e76ac7b4e4f821df8a19bea752c2e9888.tar.gz u-boot-17aaa42e76ac7b4e4f821df8a19bea752c2e9888.tar.xz u-boot-17aaa42e76ac7b4e4f821df8a19bea752c2e9888.zip | |
power: regulator: tps62360_regulator: Convert ofdata_to_platdata to the missing probe
commit 29f7d05a347a ("dm: core: Move ofdata_to_platdata() call earlier")
introduces changes in the order of device_probe execution.
ofdata_to_platdata now comes before the probe function which resulted in
a deadlock and caused boot hang on AM6 devices.
Deadlock sequence: tps62360_regulator_ofdata_to_platdata --> i2c_get_chip
--> device_probe(tps62360) --> tps62360_regulator_ofdata_to_platdata
Hence convert ofdata_to_platdata to the missing probe function to fix the
hang.
Fixes: 22e8f18980d6 ("power: regulator: tps6236x: add support for tps6236x regulators")
Signed-off-by: Keerthy <j-keerthy@ti.com>
Tested-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
