1. NAME

regulator_is_enabled - is the regulator output enabled

2. SYNOPSIS

int regulator_is_enabled(struct regulator *  regulator );

3. ARGUMENTS

regulator
    regulator source

4. DESCRIPTION

Returns positive if the regulator driver backing the source/client has requested that the device be enabled, zero if it hasnAqt, 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.

5. AUTHORS

Liam Girdwood <>
    Author.

Mark Brown <>
Wolfson Microelectronics,
    Author.

6. COPYRIGHT