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 b84b531 commit 892fbdbCopy full SHA for 892fbdb
sound/soc/codecs/rt5682-i2c.c
@@ -157,18 +157,18 @@ static int rt5682_i2c_probe(struct i2c_client *i2c)
157
return ret;
158
}
159
160
- ret = devm_add_action_or_reset(&i2c->dev, rt5682_i2c_disable_regulators,
161
- rt5682);
162
- if (ret)
163
- return ret;
164
-
165
ret = regulator_bulk_enable(ARRAY_SIZE(rt5682->supplies),
166
rt5682->supplies);
167
if (ret) {
168
dev_err(&i2c->dev, "Failed to enable supplies: %d\n", ret);
169
170
171
+ ret = devm_add_action_or_reset(&i2c->dev, rt5682_i2c_disable_regulators,
+ rt5682);
+ if (ret)
+ return ret;
+
172
ret = rt5682_get_ldo1(rt5682, &i2c->dev);
173
if (ret)
174
0 commit comments