From: "Mike Frysinger" <vapier.adi@gmail.com>
To: khali@linux-fr.org, "Andrew Morton" <akpm@osdl.org>
Cc: i2c@lm-sensors.org, linux-kernel@vger.kernel.org
Subject: [patch] fix typo in i2c smbus documentation
Date: Wed, 27 Dec 2006 23:39:26 -0500 [thread overview]
Message-ID: <8bd0f97a0612272039l15fb2484v8ebbc1065adab9e2@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
the i2c smbus documentation has a typo ... when it describes the
"SMBus Write Word Data" function, it says that it is meant to "read
from a device" when in reality it should obviously be writing to the
device
btw, the i2c/smbus docs in Documentation/i2c/ are superb, thanks all :)
-mike
[-- Attachment #2: linux-i2c-smbus-doc-typo.patch --]
[-- Type: application/octet-stream, Size: 675 bytes --]
Fix typo in SMBus Write Word Data description (write data, dont read it).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
diff --git a/Documentation/i2c/smbus-protocol b/Documentation/i2c/smbus-protocol
index 09f5e5c..3baedec 100644
--- a/Documentation/i2c/smbus-protocol
+++ b/Documentation/i2c/smbus-protocol
@@ -97,7 +97,7 @@ SMBus Write Word Data
=====================
This is the opposite operation of the Read Word Data command. 16 bits
-of data is read from a device, from a designated register that is
+of data is written to a device to the designated register that is
specified through the Comm byte.
S Addr Wr [A] Comm [A] DataLow [A] DataHigh [A] P
next reply other threads:[~2006-12-28 4:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-28 4:39 Mike Frysinger [this message]
2006-12-30 9:11 ` Jean Delvare
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=8bd0f97a0612272039l15fb2484v8ebbc1065adab9e2@mail.gmail.com \
--to=vapier.adi@gmail.com \
--cc=akpm@osdl.org \
--cc=i2c@lm-sensors.org \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®