diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2015-07-27 16:54:10 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-21 10:05:43 -0700 |
commit | 0fd96604b85be283a3bef4939fdd70d30a232bbc (patch) | |
tree | 55709dc542abe61c8fef8516647c201883c1a925 /drivers/infiniband | |
parent | 1042a41280224603cc6e6c282d4811bcfd79a251 (diff) |
regulator: pbias: Fix broken pbias disable functionality
commit c329061be51bef655f28c9296093984c977aff85 upstream.
regulator_disable of pbias always writes '0' to the enable_reg.
However actual disable value of pbias regulator is not always '0'.
Fix it by populating the disable_val in pbias_reg_info for the
various platforms and assign it to the disable_val of
pbias regulator descriptor. This will be used by
regulator_disable_regmap while disabling pbias regulator.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions