diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2015-07-28 11:34:11 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-29 14:55:51 +0100 |
commit | b10c7f3cc948107fb992d3a14eeaa0fdfb5c95da (patch) | |
tree | 13f1735df49cfcda47215ae08479564e0109b9e3 /drivers/extcon | |
parent | ffaab99184a2c8b592bba85d8e4da708c65b4cc1 (diff) | |
download | linux-b10c7f3cc948107fb992d3a14eeaa0fdfb5c95da.tar.bz2 |
regulator: max8973: Set VSEL regmap ops if DVS GPIO is not set
Use regmap helpers for get_voltage_sel and set_voltage_sel ops
if the DVS GPIO is not set.
The DVS GPIO allows on the fly selection of the VSEL register
from two choices. However, if it is not set, the VSEL register
will stay fixed and we can use the regmap ops. This allows use
of the *hardware_vsel* regulator APIs.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions