mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
regulator: qcom_pm8008: Initialize voltage selector count
Initialize voltage selector count (number of selectors supported by regulator) to 1 for all the LDOs of LEICA PMIC. Change-Id: Idda52cb7b5fda8a8746e18c519600cad807f5b66 Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
This commit is contained in:
parent
35b04fac53
commit
5ac98c4c03
@ -556,6 +556,7 @@ static int pm8008_register_ldo(struct pm8008_regulator *pm8008_reg,
|
||||
pm8008_reg->rdesc.type = REGULATOR_VOLTAGE;
|
||||
pm8008_reg->rdesc.ops = &pm8008_regulator_ops;
|
||||
pm8008_reg->rdesc.name = init_data->constraints.name;
|
||||
pm8008_reg->rdesc.n_voltages = 1;
|
||||
|
||||
pm8008_reg->rdev = devm_regulator_register(dev, &pm8008_reg->rdesc,
|
||||
®_config);
|
||||
|
Loading…
x
Reference in New Issue
Block a user