summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Kulhavy2016-10-03 16:40:49 +0200
committerMark Brown2016-10-04 05:21:56 +0200
commit5e549a0c18fc0321c18e7b6842cb7afc90aab396 (patch)
tree43cdb36d2ab40771a1b6c02f29df548801bc3cf8
parentMerge remote-tracking branches 'asoc/topic/tpa6130a2', 'asoc/topic/ux500', 'a... (diff)
downloadkernel-qcow2-linux-5e549a0c18fc0321c18e7b6842cb7afc90aab396.tar.gz
kernel-qcow2-linux-5e549a0c18fc0321c18e7b6842cb7afc90aab396.tar.xz
kernel-qcow2-linux-5e549a0c18fc0321c18e7b6842cb7afc90aab396.zip
ASoC: tas571x: wait 50ms after oscillator trim
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>
-rw-r--r--sound/soc/codecs/tas571x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tas571x.c b/sound/soc/codecs/tas571x.c
index df5e5cb33baa..de65ecf534af 100644
--- 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;