aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-04-07 19:42:59 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2014-04-18 10:33:36 +0400
commitb36dc67b95dedcece8757ec23bf42625a7ccda34 (patch)
tree35aa02ed80529671ecc912cbb76cc3c6a28a3337 /hw/i2c
parent9d85d557326df69fe0570e7de84b2f57e133c7e7 (diff)
Fix grammar in comment
Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/i2c')
-rw-r--r--hw/i2c/smbus_eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/smbus_eeprom.c b/hw/i2c/smbus_eeprom.c
index 86f35c11de..72c09cba6b 100644
--- a/hw/i2c/smbus_eeprom.c
+++ b/hw/i2c/smbus_eeprom.c
@@ -71,7 +71,7 @@ static void eeprom_write_data(SMBusDevice *dev, uint8_t cmd, uint8_t *buf, int l
printf("eeprom_write_byte: addr=0x%02x cmd=0x%02x val=0x%02x\n",
dev->i2c.address, cmd, buf[0]);
#endif
- /* An page write operation is not a valid SMBus command.
+ /* A page write operation is not a valid SMBus command.
It is a block write without a length byte. Fortunately we
get the full block anyway. */
/* TODO: Should this set the current location? */