Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1261972

Re: [PATCH] regulator: Use regulator_lock_supply() for get_voltage() too

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] regulator: Use regulator_lock_supply() for get_voltage() too
Date 2015-11-04 01:00 +0100
Message-ID <qqTEC-171-1@gated-at.bofh.it> (permalink)
References <qqG4G-OO-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 3, 2015 at 1:23 AM, Mark Brown <broonie@kernel.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@linaro.org>
> Signed-off-by: Mark Brown <broonie@kernel.org>

This resolves the issue for me, thanks!
Tested-by: John Stultz <john.stultz@linaro.org>
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] regulator: Use regulator_lock_supply() for get_voltage() too Mark Brown <broonie@kernel.org> - 2015-11-03 10:30 +0100
  Applied "regulator: Use regulator_lock_supply() for get_voltage() too" to the regulator tree Mark Brown <broonie@kernel.org> - 2015-11-03 16:20 +0100
  Re: [PATCH] regulator: Use regulator_lock_supply() for get_voltage() too John Stultz <john.stultz@linaro.org> - 2015-11-04 01:00 +0100

csiph-web