UPSTREAM: regulator: core: Log when we bring constraints into range
authorMark Brown <broonie@kernel.org>
Tue, 29 Mar 2016 23:33:42 +0000 (16:33 -0700)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 6 Mar 2017 10:28:40 +0000 (18:28 +0800)
commitc90bbfc477f92ea9df2925fbef6f3f47bc71b554
tree4e0f82f5e4fde6f8de972f3549f3e98b9953cfa9
parent81f752f858604152aaf9fb819483d0e621208e1e
UPSTREAM: regulator: core: Log when we bring constraints into range

This aids in debugging problems triggered by the regulator core applying
its constraints, we could potentially crash immediately after updating
the voltage if the constraints are buggy.

Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 45a91e8f767afbbffff46bf7251f81d15d121136)

Change-Id: I8c3e4a856f05c13e6ce3db8a6d46686557109962
Signed-off-by: David Wu <david.wu@rock-chips.com>
drivers/regulator/core.c