[PATCH] power: regulator: tps62360_regulator: Convert ofdata_to_platdata to the missing probe
Simon Glass
sjg at chromium.org
Thu Jan 30 03:17:34 CET 2020
On Fri, 10 Jan 2020 at 02:22, Keerthy <j-keerthy at ti.com> wrote:
>
> 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 at ti.com>
> ---
> drivers/power/regulator/tps62360_regulator.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list