summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-07-09 16:36:11 +0100
committerMark Brown <broonie@kernel.org>2025-07-09 16:36:11 +0100
commitf5b92c7449a2905963083836150f1085ce9d58c9 (patch)
tree386629e6230e1a64733cdfcca5b559f1c6849186
parentc61da55412a08268ea0cdef99dea11f7ade934ee (diff)
parent67bdd67aedcec8c63e3158c3c82991fbde0c4d22 (diff)
ASoC: don't set dapm->bias_level directly
Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>: We have many set_bias_level functions, thus dapm->bias_level should be handled by owner function, not by its callback functions.
-rw-r--r--sound/soc/codecs/rt700.c2
-rw-r--r--sound/soc/codecs/rt715.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt700.c b/sound/soc/codecs/rt700.c
index 8f6d569c8f25..816117c13aea 100644
--- a/sound/soc/codecs/rt700.c
+++ b/sound/soc/codecs/rt700.c
@@ -861,7 +861,7 @@ static int rt700_set_bias_level(struct snd_soc_component *component,
default:
break;
}
- dapm->bias_level = level;
+
return 0;
}
diff --git a/sound/soc/codecs/rt715.c b/sound/soc/codecs/rt715.c
index 0fa445d88e23..7e1628a5c9d1 100644
--- a/sound/soc/codecs/rt715.c
+++ b/sound/soc/codecs/rt715.c
@@ -775,7 +775,7 @@ static int rt715_set_bias_level(struct snd_soc_component *component,
default:
break;
}
- dapm->bias_level = level;
+
return 0;
}