]> git.sur5r.net Git - u-boot/commit
imx: Add error checking to setup_i2c()
authorSimon Glass <sjg@chromium.org>
Thu, 2 Oct 2014 01:57:24 +0000 (19:57 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:36:55 +0000 (10:36 -0600)
commitedbf8b4f8c7ef61d3dea5f629e0d756990b8277d
tree71cb5e5d6d2617f8e841d8e560b5d685d756a2e9
parentb8893327e9d22ded1cd70669884ed9d53fa9b013
imx: Add error checking to setup_i2c()

Since this function can fail, check its return value.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
arch/arm/imx-common/i2c-mxv7.c
arch/arm/include/asm/imx-common/mxc_i2c.h
board/compulab/cm_fx6/cm_fx6.c