projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeaea13
)
i2c: fix i2c->state log
author
wdc
<wdc@rock-chips.com>
Wed, 9 Apr 2014 08:26:36 +0000
(16:26 +0800)
committer
wdc
<wdc@rock-chips.com>
Wed, 9 Apr 2014 08:26:36 +0000
(16:26 +0800)
drivers/i2c/busses/i2c-rockchip.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-rockchip.c
b/drivers/i2c/busses/i2c-rockchip.c
index ca6f2e36daa38cf668f5c43c9966818becd5ca9a..634ecc64db144685e948fd5f8534a53b715cf6a6 100644
(file)
--- a/
drivers/i2c/busses/i2c-rockchip.c
+++ b/
drivers/i2c/busses/i2c-rockchip.c
@@
-193,7
+193,7
@@
static void rockchip_show_regs(struct rockchip_i2c *i2c)
int i;
dev_info(i2c->dev, "i2c->clk = %lu\n", clk_get_rate(i2c->clk));
- dev_info(i2c->dev, "i2c->sta
rt
= %d\n", i2c->state);
+ dev_info(i2c->dev, "i2c->sta
te
= %d\n", i2c->state);
dev_info(i2c->dev, "I2C_CON: 0x%08x\n", i2c_readl(i2c->regs + I2C_CON));
dev_info(i2c->dev, "I2C_CLKDIV: 0x%08x\n", i2c_readl(i2c->regs + I2C_CLKDIV));
dev_info(i2c->dev, "I2C_MRXADDR: 0x%08x\n", i2c_readl(i2c->regs + I2C_MRXADDR));