regulator_disable
Prev | Chapter 5. API reference | Next

## Name

regulator_disable — disable regulator output

## Synopsis

`int regulator_disable (` | struct regulator * regulator`)`;

## Arguments

`regulator`

  regulator source

## Description

Disable the regulator output voltage or current. Calls to `regulator_enable` must be balanced with calls to `regulator_disable`.

## NOTE

this will only disable the regulator output if no other consumer devices have it enabled, the regulator device supports disabling and machine constraints permit this operation.

Prev | Up | Next
regulator_enable | Home | regulator_force_disable