summaryrefslogtreecommitdiff
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-11-29 12:55:12 +0000
committerMark Brown <broonie@kernel.org>2022-11-29 12:55:51 +0000
commitaeb2e9c4eedc6fed264a51ca2ea17c83984d2a64 (patch)
tree3d80758082c0a3bc293761cc1a4cbac2e457b128 /sound/soc/soc-dapm.c
parent863b9179cee4570e5da4206dcf8dbcdcc37c8348 (diff)
parent3d1bb6cc1a654c8693a85b1d262e610196edec8b (diff)
ASoC: Merge up fixes
Merge the fixes branch up so we can apply further AMD work.
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 954ca9af3e48..f61c8633e7eb 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -3620,7 +3620,7 @@ snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm,
switch (w->id) {
case snd_soc_dapm_regulator_supply:
- w->regulator = devm_regulator_get(dapm->dev, w->name);
+ w->regulator = devm_regulator_get(dapm->dev, widget->name);
if (IS_ERR(w->regulator)) {
ret = PTR_ERR(w->regulator);
goto request_failed;