projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
513e43e
)
ASoC: tas571x: wait 50ms after oscillator trim
author
Petr Kulhavy
<brain@jikos.cz>
Mon, 3 Oct 2016 14:40:49 +0000
(16:40 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 4 Oct 2016 03:21:56 +0000
(
05:21
+0200)
Wait extra 50ms after writing the oscillator trim register in probe(), as
recommended by the TAS5721 and TAS5711 datasheets.
Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas571x.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/tas571x.c
b/sound/soc/codecs/tas571x.c
index df5e5cb33baaba035b1d9db577cbf772855ac3e9..de65ecf534afaa1d0c6f598058b372dcdd4688d3 100644
(file)
--- a/
sound/soc/codecs/tas571x.c
+++ b/
sound/soc/codecs/tas571x.c
@@
-754,6
+754,7
@@
static int tas571x_i2c_probe(struct i2c_client *client,
if (ret)
return ret;
+ usleep_range(50000, 60000);
memcpy(&priv->codec_driver, &tas571x_codec, sizeof(priv->codec_driver));
priv->codec_driver.component_driver.controls = priv->chip->controls;