---
name: "regulator_suspend_prepare"
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_suspend_prepare"
---

# regulator\_suspend\_prepare(9)

prepare regulators for system wide suspend

## NAME

regulator\_suspend\_prepare - prepare regulators for system wide suspend

## SYNOPSIS

**int regulator\_suspend\_prepare(suspend\_state\_t** *state***);**

## ARGUMENTS

*state*

system suspend state

## DESCRIPTION

Configure each regulator with it's suspend operating parameters for state. This will usually be called by machine suspend code prior to supending.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
