1. NAME

regulator_allow_bypass - allow the regulator to go into bypass mode

2. SYNOPSIS

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

3. ARGUMENTS

regulator
    Regulator to configure

enable
    enable or disable bypass mode

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

5. AUTHORS

Liam Girdwood < >
    Author.

Mark Brown < >
Wolfson Microelectronics,
    Author.

6. COPYRIGHT