diff mbox series

[U-Boot] i2c: imx_lpi2c: fix typo and register base address format

Message ID 20181018143601.4453-1-agust@denx.de
State Accepted
Commit 7677c0de14739fa0e63f97cf290b68bec0c497c1
Delegated to: Stefano Babic
Headers show
Series [U-Boot] i2c: imx_lpi2c: fix typo and register base address format | expand

Commit Message

Anatolij Gustschin Oct. 18, 2018, 2:36 p.m. UTC
Output the register base address in hex notation.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 drivers/i2c/imx_lpi2c.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Heiko Schocher Oct. 22, 2018, 5:40 a.m. UTC | #1
Hello Anatolij,

Am 18.10.2018 um 16:36 schrieb Anatolij Gustschin:
> Output the register base address in hex notation.
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
>   drivers/i2c/imx_lpi2c.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

builds fine on travis:

https://travis-ci.org/hsdenx/u-boot-i2c/builds/443610845

but I do not find this patch anymore on my Patchwork ToDo list ...
Ah, assigned to Stefano ... Hmm.. why is this patch assigned to
Stefano now?

Acked-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
Anatolij Gustschin Oct. 22, 2018, 1:04 p.m. UTC | #2
Hello Heiko,

On Mon, 22 Oct 2018 07:40:59 +0200
Heiko Schocher hs@denx.de wrote:
...
> but I do not find this patch anymore on my Patchwork ToDo list ...
> Ah, assigned to Stefano ... Hmm.. why is this patch assigned to
> Stefano now?

No idea. I only assigned i.MX8X patch series to Stefano.

> Acked-by: Heiko Schocher <hs@denx.de>

Thanks,

--
Anatolij
diff mbox series

Patch

diff --git a/drivers/i2c/imx_lpi2c.c b/drivers/i2c/imx_lpi2c.c
index 6c343072fb..4586d4331f 100644
--- a/drivers/i2c/imx_lpi2c.c
+++ b/drivers/i2c/imx_lpi2c.c
@@ -105,7 +105,7 @@  static int bus_i2c_send(struct udevice *bus, u8 *txbuf, int len)
 	while (len--) {
 		result = bus_i2c_wait_for_tx_ready(regs);
 		if (result) {
-			debug("i2c: send wait fot tx ready: %d\n", result);
+			debug("i2c: send wait for tx ready: %d\n", result);
 			return result;
 		}
 		writel(*txbuf++, &regs->mtdr);
@@ -482,7 +482,7 @@  static int imx_lpi2c_probe(struct udevice *bus)
 	if (ret < 0)
 		return ret;
 
-	debug("i2c : controller bus %d at %lu , speed %d: ",
+	debug("i2c : controller bus %d at 0x%lx , speed %d: ",
 	      bus->seq, i2c_bus->base,
 	      i2c_bus->speed);