summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Kulhavy2016-10-03 16:40:47 +0200
committerMark Brown2016-10-04 05:21:57 +0200
commite54de7f555970915c3856e7709a7ff74d352f315 (patch)
treea6b0db7c019b71e45f48824ccb6f46f3a3ee7437
parentASoC: tas571x: move mixer volume controls from TAS5711 to TAS5717 (diff)
downloadkernel-qcow2-linux-e54de7f555970915c3856e7709a7ff74d352f315.tar.gz
kernel-qcow2-linux-e54de7f555970915c3856e7709a7ff74d352f315.tar.xz
kernel-qcow2-linux-e54de7f555970915c3856e7709a7ff74d352f315.zip
ASoC: tas571x: extend the t_i2c time to comply with TAS5721
TAS5721 datasheet recommends to wait at least 13.5ms after deasserting the RESET signal. For TAS5717 this time is only 12ms, which was the original value in the code. Extend the wait time after deasserting RESET from 12 to 13.5ms to comply with the TAS5721 specification. Signed-off-by: Petr Kulhavy <brain@jikos.cz> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/tas571x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas571x.c b/sound/soc/codecs/tas571x.c
index 34e4ce6f23d8..512b9e663e89 100644
--- a/sound/soc/codecs/tas571x.c
+++ b/sound/soc/codecs/tas571x.c
@@ -747,7 +747,7 @@ static int tas571x_i2c_probe(struct i2c_client *client,
/* pulse the active low reset line for ~100us */
usleep_range(100, 200);
gpiod_set_value(priv->reset_gpio, 0);
- usleep_range(12000, 20000);
+ usleep_range(13500, 20000);
}
ret = regmap_write(priv->regmap, TAS571X_OSC_TRIM_REG, 0);