From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Tue, 30 Jun 2020 15:54:45 +0800 Subject: [PATCH v1 27/43] i2c: Add log_ret() on error In-Reply-To: <20200615035738.248710-16-sjg@chromium.org> References: <20200615035738.248710-1-sjg@chromium.org> <20200615035738.248710-16-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jun 15, 2020 at 11:58 AM Simon Glass wrote: > > 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 > --- > > drivers/i2c/i2c-uclass.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Bin Meng