diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2015-09-21 12:33:28 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-09-22 00:11:18 +0300 |
commit | 1de7d80246a047edaa4ea7de225437571a3aec34 (patch) | |
tree | e701ada1c45b2f15064674c0ae5bbf5aea68b279 /Documentation/fmc | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) | |
download | linux-1de7d80246a047edaa4ea7de225437571a3aec34.tar.xz |
regulator: pwm: implement ->enable(), ->disable() and ->is_enabled methods
Implement the ->enable(), ->disable() and ->is_enabled methods and remove
the PWM call in ->set_voltage_sel().
This is particularly important for critical regulators tagged as always-on,
because not claiming the PWM (and its dependencies) might lead to
unpredictable behavior (like a system hang because the PWM clk is only
claimed when the PWM device is enabled).
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/fmc')
0 files changed, 0 insertions, 0 deletions