From: Steve Rae <srae@broadcom.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] i2c: kona: Resolve Kona I2C driver issue
Date: Wed, 11 Jun 2014 13:00:32 -0700 [thread overview]
Message-ID: <5398B560.40404@broadcom.com> (raw)
In-Reply-To: <1401132809-18486-1-git-send-email-srae@broadcom.com>
On 14-05-26 12:33 PM, Steve Rae wrote:
> - "i2c mw" command hangs (with some compilers)
>
> Signed-off-by: Steve Rae <srae@broadcom.com>
> ---
>
> drivers/i2c/kona_i2c.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/kona_i2c.c b/drivers/i2c/kona_i2c.c
> index 0b1715a..5eab338 100644
> --- a/drivers/i2c/kona_i2c.c
> +++ b/drivers/i2c/kona_i2c.c
> @@ -663,7 +663,7 @@ static int kona_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr,
> static int kona_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr,
> int alen, uchar *buffer, int len)
> {
> - struct i2c_msg msg[0];
> + struct i2c_msg msg[1];
> unsigned char msgbuf0[64];
> unsigned int i;
> struct bcm_kona_i2c_dev *dev = kona_get_dev(adap);
>
I am hoping to get this into v2014.07
Thanks in advance, Steve
prev parent reply other threads:[~2014-06-11 20:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-26 19:33 [U-Boot] [PATCH] i2c: kona: Resolve Kona I2C driver issue Steve Rae
2014-06-11 20:00 ` Steve Rae [this message]
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=5398B560.40404@broadcom.com \
--to=srae@broadcom.com \
--cc=u-boot@lists.denx.de \
/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