Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e549a0c authored by Petr Kulhavy's avatar Petr Kulhavy Committed by Mark Brown
Browse files

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: default avatarPetr Kulhavy <brain@jikos.cz>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 513e43ef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;