projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb97d75
)
ASoC: sgtl5000: fix wrong register MIC_BIAS_VOLTAGE setup on probe
author
Gianluca Renzi
<gianlucarenzi@eurekelettronica.it>
Fri, 25 Sep 2015 19:33:41 +0000
(21:33 +0200)
committer
Mark Brown
<broonie@kernel.org>
Wed, 30 Sep 2015 18:44:03 +0000
(19:44 +0100)
Signed-off-by: Gianluca Renzi <gianlucarenzi@eurekelettronica.it>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/sgtl5000.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/sgtl5000.c
b/sound/soc/codecs/sgtl5000.c
index
6e7843e
..
f540f82
100644
(file)
--- a/
sound/soc/codecs/sgtl5000.c
+++ b/
sound/soc/codecs/sgtl5000.c
@@
-1376,8
+1376,8
@@
static int sgtl5000_probe(struct snd_soc_codec *codec)
sgtl5000->micbias_resistor << SGTL5000_BIAS_R_SHIFT);
snd_soc_update_bits(codec, SGTL5000_CHIP_MIC_CTRL,
- SGTL5000_BIAS_
R
_MASK,
- sgtl5000->micbias_voltage << SGTL5000_BIAS_
R
_SHIFT);
+ SGTL5000_BIAS_
VOLT
_MASK,
+ sgtl5000->micbias_voltage << SGTL5000_BIAS_
VOLT
_SHIFT);
/*
* disable DAP
* TODO: