From: Petr Kulhavy <brain@jikos.cz>
To: broonie@kernel.org, lgirdwood@gmail.com
Cc: alsa-devel@alsa-project.org, Petr Kulhavy <brain@jikos.cz>
Subject: [PATCH v2 1/4] ASoC: tas571x: extend the t_i2c time to comply with TAS5721
Date: Wed, 5 Oct 2016 15:51:04 +0200 [thread overview]
Message-ID: <1475675467-5575-2-git-send-email-brain@jikos.cz> (raw)
In-Reply-To: <1475675467-5575-1-git-send-email-brain@jikos.cz>
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>
---
sound/soc/codecs/tas571x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/tas571x.c b/sound/soc/codecs/tas571x.c
index e996313..4d61357 100644
--- a/sound/soc/codecs/tas571x.c
+++ b/sound/soc/codecs/tas571x.c
@@ -748,7 +748,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);
--
2.7.4
next prev parent reply other threads:[~2016-10-05 13:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-05 13:51 [PATCH v2 0/4] ASoC: tas571x: fix of several issues for TAS5717 Petr Kulhavy
2016-10-05 13:51 ` Petr Kulhavy [this message]
2016-10-05 13:51 ` [PATCH v2 2/4] ASoC: tas571x: remove improper PDN signal usage in set_bias_level Petr Kulhavy
2016-10-05 13:51 ` [PATCH v2 3/4] ASoC: tas571x: wait 50ms after oscillator trim Petr Kulhavy
2016-10-05 13:51 ` [PATCH v2 4/4] ASoC: tas571x: move mixer volume controls from TAS5711 to TAS5717 Petr Kulhavy
2016-10-06 11:08 ` [PATCH v2 0/4] ASoC: tas571x: fix of several issues for TAS5717 Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1475675467-5575-2-git-send-email-brain@jikos.cz \
--to=brain@jikos.cz \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).