summaryrefslogtreecommitdiffstats
path: root/hw/i2c/imx_i2c.c
diff options
context:
space:
mode:
authorStefan Weil2016-03-23 15:59:57 +0100
committerMichael Tokarev2016-05-18 14:04:27 +0200
commitcb8d4c8f54b8271f642f02382eec29d468bb1c77 (patch)
tree93a1691d7a5d90ddbb77a3210299089fcede4947 /hw/i2c/imx_i2c.c
parent9p: drop unused declaration from coth.h (diff)
downloadqemu-cb8d4c8f54b8271f642f02382eec29d468bb1c77.tar.gz
qemu-cb8d4c8f54b8271f642f02382eec29d468bb1c77.tar.xz
qemu-cb8d4c8f54b8271f642f02382eec29d468bb1c77.zip
Fix some typos found by codespell
Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/i2c/imx_i2c.c')
-rw-r--r--hw/i2c/imx_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/imx_i2c.c b/hw/i2c/imx_i2c.c
index a01e43ebeb..e19d4fa745 100644
--- a/hw/i2c/imx_i2c.c
+++ b/hw/i2c/imx_i2c.c
@@ -247,7 +247,7 @@ static void imx_i2c_write(void *opaque, hwaddr offset,
if (s->address == ADDR_RESET) {
if (i2c_start_transfer(s->bus, extract32(s->i2dr_write, 1, 7),
extract32(s->i2dr_write, 0, 1))) {
- /* if non zero is returned, the adress is not valid */
+ /* if non zero is returned, the address is not valid */
s->i2sr |= I2SR_RXAK;
} else {
s->address = s->i2dr_write;