diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2015-07-27 16:54:10 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-14 19:01:58 +0100 |
commit | c329061be51bef655f28c9296093984c977aff85 (patch) | |
tree | 105e1c08eff33caa32596f4ef23c4d765dffcaeb /drivers/usb/core/message.c | |
parent | bc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff) | |
download | linux-c329061be51bef655f28c9296093984c977aff85.tar.bz2 |
regulator: pbias: Fix broken pbias disable functionality
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>
Cc: <stable@vger.kernel.org>
Diffstat (limited to 'drivers/usb/core/message.c')
0 files changed, 0 insertions, 0 deletions