summaryrefslogtreecommitdiffstats
path: root/Documentation/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/i2c')
-rw-r--r--Documentation/i2c/dev-interface2
-rw-r--r--Documentation/i2c/i2c-protocol6
-rw-r--r--Documentation/i2c/writing-clients10
3 files changed, 9 insertions, 9 deletions
diff --git a/Documentation/i2c/dev-interface b/Documentation/i2c/dev-interface
index 3a0f73bf6..03b5836f4 100644
--- a/Documentation/i2c/dev-interface
+++ b/Documentation/i2c/dev-interface
@@ -126,7 +126,7 @@ for details) through the following functions:
__s32 i2c_smbus_read_block_data(int file, __u8 command, __u8 *values);
__s32 i2c_smbus_write_block_data(int file, __u8 command, __u8 length,
__u8 *values);
-All these tranactions return -1 on failure; you can read errno to see
+All these transactions return -1 on failure; you can read errno to see
what happened. The 'write' transactions return 0 on success; the
'read' transactions return the read value, except for read_block, which
returns the number of values read. The block buffers need not be longer
diff --git a/Documentation/i2c/i2c-protocol b/Documentation/i2c/i2c-protocol
index d8cfdc77b..40c686d65 100644
--- a/Documentation/i2c/i2c-protocol
+++ b/Documentation/i2c/i2c-protocol
@@ -18,7 +18,7 @@ Count (8 bits): A data byte containing the length of a block operation.
[..]: Data sent by I2C device, as opposed to data sent by the host adapter.
-Simple send tranaction
+Simple send transaction
======================
This corresponds to i2c_master_send.
@@ -34,7 +34,7 @@ This corresponds to i2c_master_recv
S Addr Rd [A] [Data] A [Data] A ... A [Data] NA P
-Combined tranactions
+Combined transactions
====================
This corresponds to i2c_transfer
@@ -54,7 +54,7 @@ We have found some I2C devices that needs the following modifications:
Flag I2C_M_NOSTART:
In a combined transaction, no 'S Addr' is generated at some point.
For example, setting I2C_M_NOSTART on the second partial message
- generateds something like:
+ generates something like:
S Addr Rd [A] [Data] NA Wr [A] Data [A] P
If you set the I2C_M_NOSTART variable for the first partial message,
we do not generate Addr, but we do generate the startbit S. This will
diff --git a/Documentation/i2c/writing-clients b/Documentation/i2c/writing-clients
index a9328d869..a66debc0f 100644
--- a/Documentation/i2c/writing-clients
+++ b/Documentation/i2c/writing-clients
@@ -36,7 +36,7 @@ address.
/* dec_use */ &foo_dev_use /* May be NULL */
}
-The name can be choosen freely, and may be upto 40 characters long. Please
+The name can be chosen freely, and may be upto 40 characters long. Please
use something descriptive here.
The id should be a unique ID. The range 0xf000 to 0xffff is reserved for
@@ -659,7 +659,7 @@ kernel booting is completed.
Command function
================
-A generic ioctl-like function call back is supported. You will seldomly
+A generic ioctl-like function call back is supported. You will seldom
need this. You may even set it to NULL.
/* No commands defined */
@@ -733,7 +733,7 @@ SMBus communication
u8 command, u8 length,
u8 *values);
-All these tranactions return -1 on failure. The 'write' transactions
+All these transactions return -1 on failure. The 'write' transactions
return 0 on success; the 'read' transactions return the read value, except
for read_block, which returns the number of values read. The block buffers
need not be longer than 32 bytes.
@@ -749,7 +749,7 @@ Below all general purpose routines are listed, that were not mentioned
before.
/* This call returns a unique low identifier for each registered adapter,
- * or -1 if the adapter was not regisitered.
+ * or -1 if the adapter was not registered.
*/
extern int i2c_adapter_id(struct i2c_adapter *adap);
@@ -791,7 +791,7 @@ The third, sixth and ninth parameters should always be NULL, and the
fourth should always be 0. The fifth is the mode of the /proc file;
0644 is safe, as the file will be owned by root:root.
-The seventh and eigth parameters should be &sensors_proc_real and
+The seventh and eighth parameters should be &sensors_proc_real and
&sensors_sysctl_real if you want to export lists of reals (scaled
integers). You can also use your own function for them, as usual.
Finally, the last parameter is the call-back to gather the data