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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
Petr Kulhavy 2016-10-03 16:40:49 +02:00 • committed by Mark Brown
commit 5e549a0c18

View file

@ -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;