---
name: "regulator_allow_bypass"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/regulator_allow_bypass"
---

# regulator\_allow\_bypass(9)

allow the regulator to go into bypass mode

## 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.

## AUTHORS

**Liam Girdwood** \<lrg@slimlogic.co.uk\>

Author.

**Mark Brown** \<broonie@opensource.wolfsonmicro.com\>\
 Wolfson Microelectronics,

Author.

## COPYRIGHT
