regulator_is_enabled(9)

regulator_is_enabled9

Is the regulator output enabled

Usage

int regulator_is_enabled(struct regulator * regulator);

Arguments

regulator

regulator source

Overview

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.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

Authors

Liam Girdwood <[email protected]>

Author.

Mark Brown <[email protected]>
Wolfson Microelectronics,

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.