android_kernel_sony_sdm845/include/linux/regulator
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Matthias Kaehlcke e2afbcdeb6 regulator: core: Limit propagation of parent voltage count and list
[ Upstream commit fd086045559d90cd7854818b4c60a7119eda6231 ]

Commit 26988efe11 ("regulator: core: Allow to get voltage count and
list from parent") introduces the propagation of the parent voltage
count and list for regulators that don't provide this information
themselves. The goal is to support simple switch regulators, however as
a side effect normal continuous regulators can leak details of their
supplies and provide consumers with inconsistent information.

Limit the propagation of the voltage count and list to switch
regulators.

Fixes: 26988efe11 ("regulator: core: Allow to get voltage count and
  list from parent")
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-22 09:17:44 +01:00
..
ab8500.h
act8865.h regulator: act8865: Pass of_node via act8865_regulator_data 2016-03-28 12:34:20 -07:00
consumer.h regulator: Remove support for optional supplies in the bulk API 2016-08-16 20:00:44 +01:00
da9211.h regulator: da9211: add descriptions for da9212/da9214 2016-06-29 17:24:55 +01:00
db8500-prcmu.h
driver.h regulator: core: Limit propagation of parent voltage count and list 2018-03-22 09:17:44 +01:00
fan53555.h
fixed.h
gpio-regulator.h
lp872x.h regulator: lp872x: Add enable GPIO pin support 2016-02-05 18:57:09 +00:00
lp3971.h
lp3972.h
machine.h regulator: add missing description for set_over_current_protection 2016-03-23 13:38:23 +00:00
max1586.h
max8649.h
max8660.h
max8952.h
max8973-regulator.h regulator: max8973: add support for junction thermal warning 2016-04-13 17:19:26 +01:00
mt6311.h regulator: mt6311: Add support for mt6311 regulator 2015-07-24 12:30:49 +01:00
mt6323-regulator.h regulator: mt6323: Add support for MT6323 regulator 2016-07-18 13:46:23 +01:00
mt6397-regulator.h
of_regulator.h
pfuze100.h
tps6507x.h
tps51632-regulator.h
tps62360.h
userspace-consumer.h