regulator_bulk_force_disable (9) - Linux Man Pages
regulator_bulk_force_disable: force disable multiple regulator consumers
regulator_bulk_force_disable - force disable multiple regulator consumers
num_consumers, struct regulator_bulk_data *consumers);
- Number of consumers
- Consumer data; clients are stored here. return 0 on success, an errno on failure
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.
Liam Girdwood <lrg [at] slimlogic.co.uk>