SysTutorials

Linux Manual Pages › Section 9

regulator_disable(9)

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.

Authors

Liam Girdwood <lrg [at] slimlogic.co.uk>

Author.

Mark Brown <broonie [at] opensource.wolfsonmicro.com>
Wolfson Microelectronics,

  

Author.

Copyright