[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALAqxLVvbVNY--+CbH5Qg-Je-XkbTUMJXL0a=Zna83eeQ3MN_w@mail.gmail.com>
Date: Tue, 3 Nov 2015 15:50:23 -0800
From: John Stultz <john.stultz@...aro.org>
To: Mark Brown <broonie@...nel.org>
Cc: Liam Girdwood <lgirdwood@...il.com>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] regulator: Use regulator_lock_supply() for get_voltage() too
On Tue, Nov 3, 2015 at 1:23 AM, Mark Brown <broonie@...nel.org> wrote:
> Since we need to read voltages of parents as part of setting supply
> voltages we need to be able to do get_voltage() internally without
> taking locks so reorganize the locking to take locks on the full tree on
> entry rather than as we recurse when called externally.
>
> Reported-by: John Stultz <john.stultz@...aro.org>
> Signed-off-by: Mark Brown <broonie@...nel.org>
This resolves the issue for me, thanks!
Tested-by: John Stultz <john.stultz@...aro.org>
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists