We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96c224 commit c692905Copy full SHA for c692905
drivers/regulator/tps6287x-regulator.c
@@ -119,7 +119,7 @@ static struct regulator_desc tps6287x_reg = {
119
.ramp_mask = TPS6287X_CTRL1_VRAMP,
120
.ramp_delay_table = tps6287x_ramp_table,
121
.n_ramp_values = ARRAY_SIZE(tps6287x_ramp_table),
122
- .n_voltages = 256,
+ .n_voltages = 256 * ARRAY_SIZE(tps6287x_voltage_ranges),
123
.linear_ranges = tps6287x_voltage_ranges,
124
.n_linear_ranges = ARRAY_SIZE(tps6287x_voltage_ranges),
125
.linear_range_selectors_bitfield = tps6287x_voltage_range_sel,
0 commit comments