projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ASoC: wm8962: Replace direct snd_soc_codec dapm field access
[deliverable/linux.git]
/
sound
/
soc
/
codecs
/
es8328.c
diff --git
a/sound/soc/codecs/es8328.c
b/sound/soc/codecs/es8328.c
index c5f35a07e8e48106335df49153acd81e104f7aa9..6a091016e0fc767c2465cfd5c8eaf822d09d2ea3 100644
(file)
--- a/
sound/soc/codecs/es8328.c
+++ b/
sound/soc/codecs/es8328.c
@@
-536,7
+536,7
@@
static int es8328_set_bias_level(struct snd_soc_codec *codec,
break;
case SND_SOC_BIAS_STANDBY:
break;
case SND_SOC_BIAS_STANDBY:
- if (
codec->dapm.bias_level
== SND_SOC_BIAS_OFF) {
+ if (
snd_soc_codec_get_bias_level(codec)
== SND_SOC_BIAS_OFF) {
snd_soc_update_bits(codec, ES8328_CONTROL1,
ES8328_CONTROL1_VMIDSEL_MASK |
ES8328_CONTROL1_ENREF,
snd_soc_update_bits(codec, ES8328_CONTROL1,
ES8328_CONTROL1_VMIDSEL_MASK |
ES8328_CONTROL1_ENREF,
@@
-566,7
+566,6
@@
static int es8328_set_bias_level(struct snd_soc_codec *codec,
0);
break;
}
0);
break;
}
- codec->dapm.bias_level = level;
return 0;
}
return 0;
}
This page took
0.029465 seconds
and
5
git commands to generate.