projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5630d2f
)
i2c: designware: Use log_debug() for debugging
author
Simon Glass
<sjg@chromium.org>
Mon, 28 Sep 2020 00:46:23 +0000
(18:46 -0600)
committer
Tom Rini
<trini@konsulko.com>
Thu, 22 Oct 2020 13:54:52 +0000
(09:54 -0400)
We don't want the debug output to be visible in a normal boot. Silence it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher<hs@denx.de>
drivers/i2c/designware_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/designware_i2c.c
b/drivers/i2c/designware_i2c.c
index
569a5d3
..
791f32e
100644
(file)
--- a/
drivers/i2c/designware_i2c.c
+++ b/
drivers/i2c/designware_i2c.c
@@
-807,8
+807,8
@@
int designware_i2c_probe(struct udevice *bus)
return -ENXIO;
}
- log_
info
("I2C bus %s version %#x\n", bus->name,
- readl(&priv->regs->comp_version));
+ log_
debug
("I2C bus %s version %#x\n", bus->name,
+
readl(&priv->regs->comp_version));
return __dw_i2c_init(priv->regs, 0, 0);
}