diff options
author | Petr Kulhavy <brain@jikos.cz> | 2016-10-03 10:40:49 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-03 23:21:56 -0400 |
commit | 5e549a0c18fc0321c18e7b6842cb7afc90aab396 (patch) | |
tree | 43cdb36d2ab40771a1b6c02f29df548801bc3cf8 | |
parent | 513e43efafe329dad7b5794583b67ac898dcbdca (diff) |
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.c | 1 |
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, | |||
754 | if (ret) | 754 | if (ret) |
755 | return ret; | 755 | return ret; |
756 | 756 | ||
757 | usleep_range(50000, 60000); | ||
757 | 758 | ||
758 | memcpy(&priv->codec_driver, &tas571x_codec, sizeof(priv->codec_driver)); | 759 | memcpy(&priv->codec_driver, &tas571x_codec, sizeof(priv->codec_driver)); |
759 | priv->codec_driver.component_driver.controls = priv->chip->controls; | 760 | priv->codec_driver.component_driver.controls = priv->chip->controls; |