regulator_allow_bypass
Prev | Chapter 5. API reference | Next

## Name

regulator_allow_bypass — allow the regulator to go into bypass mode

## Synopsis

`int regulator_allow_bypass (` | struct regulator * regulator,
| bool enable`)`;

## Arguments

`regulator`

  Regulator to configure

`enable`

  enable or disable bypass mode

## Description

Allow the regulator to go into bypass mode if all other consumers for the regulator also enable bypass mode and the machine constraints allow this. Bypass mode means that the regulator is simply passing the input directly to the output with no regulation.

Prev | Up | Next
regulator_set_optimum_mode | Home | regulator_register_notifier