Commit 9536ce63 authored by Adam Ward's avatar Adam Ward Committed by Mark Brown
parent 416c29e9
...@@ -381,7 +381,7 @@ static int da9121_of_parse_cb(struct device_node *np, ...@@ -381,7 +381,7 @@ static int da9121_of_parse_cb(struct device_node *np,
uint32_t ripple_reg; uint32_t ripple_reg;
int ret; int ret;
if (of_property_read_u32(da9121_matches[pdata->num_buck].of_node, if (of_property_read_u32(da9121_matches[pdata->num_buck-1].of_node,
"dlg,ripple-cancel", &ripple_cancel)) { "dlg,ripple-cancel", &ripple_cancel)) {
if (pdata->num_buck > 1) if (pdata->num_buck > 1)
ripple_reg = DA9xxx_REG_BUCK_BUCK2_7; ripple_reg = DA9xxx_REG_BUCK_BUCK2_7;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment