Name

regulator_set_mode — set regulator operating mode

Synopsis

int regulator_set_mode (struct regulator * regulator,
 unsigned int mode);
 

Arguments

regulator

regulator source

mode

operating mode - one of the REGULATOR_MODE constants

Description

Set regulator operating mode to increase regulator efficiency or improve regulation performance.

NOTE

Regulator system constraints must be set for this regulator before calling this function otherwise this call will fail.