]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: Add log_ret() on error
authorSimon Glass <sjg@chromium.org>
Wed, 8 Jul 2020 03:32:28 +0000 (21:32 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commitc61c8efd477c075b75b22ebd7b0e845a39a7d105
treef5d1f68c533917e3e63a7db4b0d0157c0281b1b1
parent767abfc6ce326e00abd907a643779c13e13839bf
i2c: Add log_ret() on error

Add a few of these calls to make it easier to see where an error occurs,
if CONFIG_LOG_ERROR_RETURN is enabled.

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/i2c-uclass.c