Re: Regulator regression in next-20180305

From: Fabio Estevam
Date: Tue Mar 06 2018 - 11:56:52 EST


Hi Mark,

On Tue, Mar 6, 2018 at 1:30 PM, Mark Brown <broonie@xxxxxxxxxx> wrote:

> diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
> index e685f8b94acf..2c5b20a97f51 100644
> --- a/drivers/regulator/core.c
> +++ b/drivers/regulator/core.c
> @@ -159,7 +159,7 @@ static void regulator_lock_supply(struct regulator_dev *rdev)
> {
> int i;
>
> - for (i = 0; rdev; rdev = rdev_get_supply(rdev), i++)
> + for (i = 1000; rdev; rdev = rdev_get_supply(rdev), i++)
> mutex_lock_nested(&rdev->mutex, i);

With this change the log is a bit different, but still get a kernel hang:
https://pastebin.com/eF08TnuT

Thanks