From: Manuel Lauss <manuel.lauss-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: Linux-I2C <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Cc: Manuel Lauss <manuel.lauss-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Subject: [PATCH] i2c-au1550: increase timeout waiting for transactions to finish
Date: Sun, 12 Jun 2011 14:31:27 +0200 [thread overview]
Message-ID: <1307881887-12676-1-git-send-email-manuel.lauss@googlemail.com> (raw)
Wait a bit longer for the I2C master transaction to finish.
With this change the WM8731 codec on the DB1300 board is now
reliably initialized.
Tested on Db1200 and Db1300.
Signed-off-by: Manuel Lauss <manuel.lauss-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
---
drivers/i2c/busses/i2c-au1550.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/i2c/busses/i2c-au1550.c b/drivers/i2c/busses/i2c-au1550.c
index 532828b..e4ece23 100644
--- a/drivers/i2c/busses/i2c-au1550.c
+++ b/drivers/i2c/busses/i2c-au1550.c
@@ -106,7 +106,7 @@ wait_master_done(struct i2c_au1550_data *adap)
au_sync();
if ((stat & PSC_SMBEVNT_MD) != 0)
return 0;
- udelay(1);
+ udelay(2);
}
return -ETIMEDOUT;
--
1.7.5.3
next reply other threads:[~2011-06-12 12:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-12 12:31 Manuel Lauss [this message]
[not found] ` <1307881887-12676-1-git-send-email-manuel.lauss-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2011-06-15 21:40 ` [PATCH] i2c-au1550: increase timeout waiting for transactions to finish Ben Dooks
[not found] ` <20110615214009.GJ15795-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2011-06-16 6:00 ` Manuel Lauss
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=1307881887-12676-1-git-send-email-manuel.lauss@googlemail.com \
--to=manuel.lauss-gm/ye1e23mwn+bqq9rbeug@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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).