projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1aac48
)
ASoC: Rely on core enabling the wm8994 with runtime PM
author
Mark Brown
<
[email protected]
>
Mon, 5 Dec 2011 15:17:36 +0000
(15:17 +0000)
committer
Mark Brown
<
[email protected]
>
Thu, 8 Dec 2011 01:22:48 +0000
(09:22 +0800)
No need to do this in the driver now.
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/wm8994.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8994.c
b/sound/soc/codecs/wm8994.c
index 02ca2573214d3e05d4c27c90233ded58b6c9faa8..3eaf56a33964f33623e1ec488e1c4d9a16daa83a 100644
(file)
--- a/
sound/soc/codecs/wm8994.c
+++ b/
sound/soc/codecs/wm8994.c
@@
-2188,8
+2188,6
@@
static int wm8994_set_bias_level(struct snd_soc_codec *codec,
case SND_SOC_BIAS_STANDBY:
if (codec->dapm.bias_level == SND_SOC_BIAS_OFF) {
- pm_runtime_get_sync(codec->dev);
-
switch (control->type) {
case WM8994:
if (wm8994->revision < 4) {
@@
-2256,11
+2254,8
@@
static int wm8994_set_bias_level(struct snd_soc_codec *codec,
break;
case SND_SOC_BIAS_OFF:
- if (codec->dapm.bias_level == SND_SOC_BIAS_STANDBY)
{
+ if (codec->dapm.bias_level == SND_SOC_BIAS_STANDBY)
wm8994->cur_fw = NULL;
-
- pm_runtime_put(codec->dev);
- }
break;
}
codec->dapm.bias_level = level;