Is the regulator output enabled
int regulator_is_enabled(struct regulator * regulator);
regulator
regulator source
Returns positive if the regulator driver backing the source/client has requested that the device be enabled, zero if it hasn't, else a negative errno code.
Note that the device backing this regulator handle can have multiple users, so it might be enabled even if regulator_enable was never called for this particular source.
Liam Girdwood <[email protected]>
Author.
Mark Brown <[email protected]>
Wolfson Microelectronics,
Author.