linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Dooks <ben-i2c-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
To: Rodolfo Giometti <giometti-k2GhghHVRtY@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	"Mark A. Greer" <mgreer-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 1/3] i2c i2c-mv64xxx: send repeated START between messages in xfer
Date: Fri, 3 Dec 2010 02:30:20 +0000	[thread overview]
Message-ID: <20101203023020.GE20097@trinity.fluff.org> (raw)
In-Reply-To: <1290787616-27106-1-git-send-email-giometti-k2GhghHVRtY@public.gmane.org>

On Fri, Nov 26, 2010 at 05:06:56PM +0100, Rodolfo Giometti wrote:
> As stated into file include/linux/i2c.h we must send a repeated START
> between messages in the same xfer groupset:

patch says 1/3, but only one turned up?
 
>  * Except when I2C "protocol mangling" is used, all I2C adapters implement
>  * the standard rules for I2C transactions.  Each transaction begins with a
>  * START.  That is followed by the slave address, and a bit encoding read
>  * versus write.  Then follow all the data bytes, possibly including a byte
>  * with SMBus PEC.  The transfer terminates with a NAK, or when all those
>  * bytes have been transferred and ACKed.  If this is the last message in a
>  * group, it is followed by a STOP.  Otherwise it is followed by the next
>  * @i2c_msg transaction segment, beginning with a (repeated) START.
> 
> Signed-off-by: Rodolfo Giometti <giometti-k2GhghHVRtY@public.gmane.org>
> Signed-off-by: Mauro Barella <mbarella-RSoB1PSltFvQT0dZR+AlfA@public.gmane.org>
> ---
>  drivers/i2c/busses/i2c-mv64xxx.c |   45 ++++++++++++++++++++++++++++++++------

Anyone got any commentson whether this is an -rc fix or for next merge
window... I'd be tempted to merge it as soon as possible.

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

  parent reply	other threads:[~2010-12-03  2:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26 16:06 [PATCH 1/3] i2c i2c-mv64xxx: send repeated START between messages in xfer Rodolfo Giometti
     [not found] ` <1290787616-27106-1-git-send-email-giometti-k2GhghHVRtY@public.gmane.org>
2010-12-03  2:30   ` Ben Dooks [this message]
     [not found]     ` <20101203023020.GE20097-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2010-12-03  8:28       ` Rodolfo Giometti

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=20101203023020.GE20097@trinity.fluff.org \
    --to=ben-i2c-elnmno+kys3ytjvyw6ydsg@public.gmane.org \
    --cc=giometti-k2GhghHVRtY@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mgreer-Igf4POYTYCDQT0dZR+AlfA@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).