regulator_bulk_force_disable(9)

regulator_bulk_force_disable9

Force disable multiple regulator consumers

Usage

int regulator_bulk_force_disable(int num_consumers, struct regulator_bulk_data * consumers);

Arguments

num_consumers

Number of consumers

consumers

Consumer data; clients are stored here. return 0 on success, an errno on failure

Overview

This convenience API allows consumers to forcibly disable multiple regulator clients in a single API call.

Note

This should be used for situations when device damage will likely occur if the regulators are not disabled (e.g. over temp). Although regulator_force_disable function call for some consumers can return error numbers, the function is called for all consumers.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

Authors

Liam Girdwood <[email protected]>

Author.

Mark Brown <[email protected]>
Wolfson Microelectronics,

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.