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:
d1b7328
)
ASoC: ssm2602: Set initial bias level to standby
author
Lars-Peter Clausen
<lars@metafoo.de>
Tue, 27 Sep 2011 09:08:47 +0000
(11:08 +0200)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 27 Sep 2011 10:21:40 +0000
(11:21 +0100)
Set the initial bias level to standby during CODEC probe instead of leaving the
CODEC powered off.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ssm2602.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/ssm2602.c
b/sound/soc/codecs/ssm2602.c
index 32d6c51418604e61050094c1e3e6962ecec18383..c9e0fdbf0565033e141dc76cf10be4b83b191896 100644
(file)
--- a/
sound/soc/codecs/ssm2602.c
+++ b/
sound/soc/codecs/ssm2602.c
@@
-577,7
+577,12
@@
static int ssm260x_probe(struct snd_soc_codec *codec)
break;
}
- return ret;
+ if (ret)
+ return ret;
+
+ ssm2602_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
+
+ return 0;
}
/* remove everything here */