]> git.sur5r.net Git - u-boot/commit
dm: imx: i2c: Use gpio_request() to request GPIOs
authorSimon Glass <sjg@chromium.org>
Thu, 2 Oct 2014 14:17:23 +0000 (17:17 +0300)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:36:55 +0000 (10:36 -0600)
commitc6f3f32356b21f3220cfb4a17c37645249ba6d30
tree0cb694e96f8db4b3dfa92a6d08a9e2f5c5aa8bdf
parentedbf8b4f8c7ef61d3dea5f629e0d756990b8277d
dm: imx: i2c: Use gpio_request() to request GPIOs

GPIOs should be requested before use. Without this, driver model will
not permit the GPIO to be used.

Cc: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
arch/arm/imx-common/i2c-mxv7.c