aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 0fecbb44726b..61d7d85aa578 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1402,11 +1402,11 @@ int snd_soc_dapm_set_bias_level(struct snd_soc_device *socdev,
1402 enum snd_soc_bias_level level) 1402 enum snd_soc_bias_level level)
1403{ 1403{
1404 struct snd_soc_codec *codec = socdev->codec; 1404 struct snd_soc_codec *codec = socdev->codec;
1405 struct snd_soc_machine *machine = socdev->machine; 1405 struct snd_soc_card *card = socdev->card;
1406 int ret = 0; 1406 int ret = 0;
1407 1407
1408 if (machine->set_bias_level) 1408 if (card->set_bias_level)
1409 ret = machine->set_bias_level(machine, level); 1409 ret = card->set_bias_level(card, level);
1410 if (ret == 0 && codec->set_bias_level) 1410 if (ret == 0 && codec->set_bias_level)
1411 ret = codec->set_bias_level(codec, level); 1411 ret = codec->set_bias_level(codec, level);
1412 1412