public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] I2C: mxc_i2c rework
Date: Thu, 14 Jul 2011 10:58:30 +0200	[thread overview]
Message-ID: <4E1EAFB6.6070000@denx.de> (raw)
In-Reply-To: <4E1DA41D.8080505@denx.de>

Hello Stefano,

Stefano Babic wrote:
> On 07/13/2011 11:53 AM, Marek Vasut wrote:
>> Rewrite the mxc_i2c driver.
>>  * This version is much closer to Linux implementation.
>>  * Fixes IPG_PERCLK being incorrectly used as clock source
>>  * Fixes behaviour of the driver on iMX51
>>  * Clean up coding style a bit ;-)
>>
>> Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
>> ---
> 
> Hi Marek,
> 
> I have added Heiko in CC. He is the Maintainer for I2C.

Thanks! ;-)

[...]
>> +/*
>> + * Write register address
>> + */
>> +int i2c_imx_set_reg_addr(uint addr, int alen)
>>  {
>> -	int i, retry = 0;
>> -	for (retry = 0; retry < 3; retry++) {
>> -		if (wait_idle())
>> +	int ret;
>> +	int i;
>> +
> 
> mmmhh...it seems to me you change completely the logic here. Heiko, waht
> do you think about ?

I think this is OK, because of calling i2c_imx_trx_complete() later,
which do this ...

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  parent reply	other threads:[~2011-07-14  8:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13  9:53 [U-Boot] [PATCH] I2C: mxc_i2c rework Marek Vasut
2011-07-13 13:56 ` Stefano Babic
2011-07-13 17:12   ` Marek Vasut
2011-07-13 18:29     ` Wolfgang Denk
2011-07-13 18:32       ` Marek Vasut
2011-07-13 21:51   ` Marek Vasut
2011-07-14  8:58   ` Heiko Schocher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-13 17:28 Marek Vasut
2011-07-13 18:31 ` Wolfgang Denk

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=4E1EAFB6.6070000@denx.de \
    --to=hs@denx.de \
    --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