From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Darius <augulis.darius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
Subject: Re: i2c device does not support repeated start
Date: Wed, 14 May 2008 12:25:28 +0200 [thread overview]
Message-ID: <20080514122528.75924c09@hyperion.delvare> (raw)
In-Reply-To: <g0ed72$ae5$1@ger.gmane.org>
Hi Darius,
On Wed, 14 May 2008 12:55:09 +0300, Darius wrote:
> If device does not support that, maybe there is some special flag, which
> device driver can pass to i2c_master_xfer?
No, there isn't. If a given I2C device doesn't support repeated start,
then its driver should simply run only single-message transactions.
That is, only use i2c_master_send() and i2c_master_recv(), or for SMBus
compatibility, i2c_smbus_read_byte() and i2c_smbus_write_*().
--
Jean Delvare
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
next prev parent reply other threads:[~2008-05-14 10:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-14 9:55 i2c device does not support repeated start Darius
2008-05-14 10:25 ` Jean Delvare [this message]
[not found] ` <20080514122528.75924c09-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-05-14 18:22 ` Trent Piepho
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=20080514122528.75924c09@hyperion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=augulis.darius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=i2c-GZX6beZjE8VD60Wz+7aTrA@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