mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 15:12:59 +02:00
i2c: fix i2c->state log
This commit is contained in:
parent
aeaea1315a
commit
874f923032
|
|
@ -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->start = %d\n", i2c->state);
|
||||
dev_info(i2c->dev, "i2c->state = %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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user