commit | 41573754322dc6000ecb037915ee37c93739dc01 | [log] [tgz] |
---|---|---|
author | Przemyslaw Marczak <p.marczak@samsung.com> | Tue Oct 28 17:31:07 2014 +0100 |
committer | Minkyu Kang <mk7.kang@samsung.com> | Thu Oct 30 19:56:16 2014 +0900 |
tree | 6360d7b2ea11fed4b3a39b338b8bc8d62ab1ebd0 | |
parent | cce257f2cf4d931ca1342466494727310259cb43 [diff] |
odroid: adjust gpio calls to dm gpio api Setting gpio value before dm gpio init has no effect, so now, odroid gpio settings are moved after the gpio uclass init. Using non-requested gpio pin cases printing error messages. To avoid this, gpio_request() is added for those gpios. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>