aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-03 00:51:03 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-03 00:51:03 +0000
commit4a2c8ac2bc67d689bc7df130d3105af52fa36b18 (patch)
treef22ed9b0b182f5b865d9fe717bb2527b3653490d /hw/i2c.c
parentf34c417ba63cd379ad7e1953bc3f520454601e27 (diff)
downloadqemu-4a2c8ac2bc67d689bc7df130d3105af52fa36b18.zip
qemu-4a2c8ac2bc67d689bc7df130d3105af52fa36b18.tar.gz
qemu-4a2c8ac2bc67d689bc7df130d3105af52fa36b18.tar.bz2
Initial OMAP I^2C controller implementation (communication not tested).
Correct an i2c_start_transfer comment. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3514 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/i2c.c')
-rw-r--r--hw/i2c.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/i2c.c b/hw/i2c.c
index f0d117c..627bbfc 100644
--- a/hw/i2c.c
+++ b/hw/i2c.c
@@ -51,8 +51,7 @@ int i2c_bus_busy(i2c_bus *bus)
return bus->current_dev != NULL;
}
-/* Returns nonzero if the bus is already busy, or is the address is not
- valid. */
+/* Returns non-zero if the address is not valid. */
/* TODO: Make this handle multiple masters. */
int i2c_start_transfer(i2c_bus *bus, int address, int recv)
{