diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-12-22 18:37:47 +0200 |
---|---|---|
committer | Denys Drozdov <denys.drozdov@toradex.com> | 2021-01-20 18:56:46 +0200 |
commit | ed1d9d63d649a9343ac4990a27ef28a8158ae0b7 (patch) | |
tree | 2999de663aded19ac1f7d319de7ceda67a59f124 /board | |
parent | 7ad1fb7ff608957618511f3c94bcaa697483806a (diff) |
colibri-imx8x: fix gpio reserved error message
This prevents messages like:
gpio@5d0d0000: get_value: error: gpio GPIO5_9 not reserved
when CONFIG_DM_GPIO is enabled.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/toradex/colibri-imx8x/colibri-imx8x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/toradex/colibri-imx8x/colibri-imx8x.c b/board/toradex/colibri-imx8x/colibri-imx8x.c index a7bdf27ef6e..da0da1829f2 100644 --- a/board/toradex/colibri-imx8x/colibri-imx8x.c +++ b/board/toradex/colibri-imx8x/colibri-imx8x.c @@ -174,6 +174,7 @@ int board_init(void) #ifdef CONFIG_MXC_GPIO board_gpio_init(); #endif + gpio_request(USB_CDET_GPIO, "usb_cdet"); #ifdef CONFIG_SNVS_SEC_SC_AUTO { |