summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorAlban Bedel <alban.bedel@avionic-design.de>2014-05-20 12:12:16 +0200
committerMark Brown <broonie@linaro.org>2014-06-01 19:19:43 +0100
commit064d5cd110f94ce41ca5681dcda8b77fa63d5b95 (patch)
tree2228e893dd2981564e72485e236a5dbae459ca1e /mm/memcontrol.c
parentfd482a3e3e20cddfb6d775ec0382f98a92b8a25e (diff)
downloadlinux-064d5cd110f94ce41ca5681dcda8b77fa63d5b95.tar.bz2
regulator: core: Fix the init of DT defined fixed regulators
When a regulator is defined using DT and it has a single voltage the regulator init always tries to apply this voltage. However it fails if the regulator isn't settable because it is using an internal low level function. To overcome this we now first query the regulator and only set it if needed. Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions