diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2017-03-28 01:54:12 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-03-29 13:49:38 +0200 |
commit | fd086045559d90cd7854818b4c60a7119eda6231 (patch) | |
tree | 395f225c6be480bcb7d0396608540a7225b5b454 /ipc/util.c | |
parent | regulator: core: Fix kerneldoc comments (diff) | |
download | linux-fd086045559d90cd7854818b4c60a7119eda6231.tar.xz linux-fd086045559d90cd7854818b4c60a7119eda6231.zip |
regulator: core: Limit propagation of parent voltage count and list
Commit 26988efe11b1 ("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: 26988efe11b1 ("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>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions