ASoC: tlv320adcx140: don't use snd_soc_component_get_bias_level()

snd_soc_component_get_bias_level() will be removed.
Let's use snd_soc_dapm_get_bias_level() instead.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87o6mpqgxc.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kuninori Morimoto 2026-01-20 00:14:07 +00:00 committed by Mark Brown
parent 702ce71d32
commit 34a74d04cd
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0

View file

@ -1188,8 +1188,8 @@ static int adcx140_set_bias_level(struct snd_soc_component *component,
enum snd_soc_bias_level level)
{
struct adcx140_priv *adcx140 = snd_soc_component_get_drvdata(component);
enum snd_soc_bias_level prev_level
= snd_soc_component_get_bias_level(component);
struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component);
enum snd_soc_bias_level prev_level = snd_soc_dapm_get_bias_level(dapm);
switch (level) {
case SND_SOC_BIAS_ON: