mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:04:51 +01:00
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:
parent
702ce71d32
commit
34a74d04cd
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue