]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: designware_i2c: Add a little more debugging
authorSimon Glass <sjg@chromium.org>
Wed, 8 Jul 2020 03:32:27 +0000 (21:32 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit767abfc6ce326e00abd907a643779c13e13839bf
treee3b03e2b9848051ff95e0448ebe00e08b5cae808
parent43ee86cc4bb96686996f31071ce7da8c0c99fec5
i2c: designware_i2c: Add a little more debugging

Add debugging for a few more values and also use log to show return values
when something goes wrong. This makes it easier to see the root cause.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/designware_i2c.c