regulator_set_current_limit — set regulator output current limit
|struct regulator * regulator,|
Minimum supported current in uA
Maximum supported current in uA
Sets current sink to the desired output current. This can be set during any regulator state. IOW, regulator can be disabled or enabled.
If the regulator is enabled then the current will change to the new value immediately otherwise if the regulator is disabled the regulator will output at the new current when enabled.