]> git.dujemihanovic.xyz Git - u-boot.git/commit
udoo_neo: Call gpio_request()
authorPeter Robinson <pbrobinson@gmail.com>
Tue, 21 Dec 2021 12:32:46 +0000 (12:32 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jan 2022 14:30:44 +0000 (09:30 -0500)
commit4be9947edf68650db0c68d7c212f98a7cd1dfbdd
tree4a6956735b1105d8a632bc3749847f3eacfc92c6
parentf77549fe7459d7a44714dfc7af1f71e5ad68cbe6
udoo_neo: Call gpio_request()

Calling gpio_request() prior to its usage is now mandatory.

This fixes the following GPIO errors:
gpio@20a8000: set_dir_flags: error: gpio GPIO4_16 not reserved
gpio@20a8000: set_dir_flags: error: gpio GPIO4_13 not reserved
gpio@20a8000: set_dir_flags: error: gpio GPIO4_0 not reserved
gpio@20a8000: get_value: error: gpio GPIO4_13 not reserved
gpio@20a8000: get_value: error: gpio GPIO4_0 not reserved
gpio@20a0000: set_dir_flags: error: gpio GPIO2_1 not reserved
gpio@20a0000: set_value: error: gpio GPIO2_1 not reserved

Fixes: 191840ae99 ("ARM: imx: udoo_neo: Enable OF_CONTROL and DM gpio/pin control")
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
board/udoo/neo/neo.c