commit | fe788b09552d1ea318d80d50962d3af69fbb0dbc | [log] [tgz] |
---|---|---|
author | Sean Cross <xobs@kosagi.com> | Mon May 26 16:45:41 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Mon May 26 16:45:23 2014 +0100 |
tree | bff37251e8e8397296e43af7d4398d4c8ed5570e | |
parent | a6dcf9782f99a0d844b4d06f65cc990468424068 [diff] |
regulator: pfuze100: Don't allocate an invalid gpio Previously, the PFUZE100 would try to allocate gpio0 io0 because config.ena_gpio defaults to 0, which can be a valid GPIO. To prevent this from happening, set this parameter to -EINVAL. Signed-off-by: Sean Cross <xobs@kosagi.com> Signed-off-by: Mark Brown <broonie@linaro.org>