Commit 49cc1646f389dba391394c6c69b0dc0108f52047

Authored by Michael Heimpold
Committed by Stefano Babic
1 parent a2e99a71b2

configs: mx23_olinuxino_defconfig: fix status led definition

While migrating individual status led usages to Kconfig stuff,
a (random) value was introduced for this board which does not
work but produces the following error message during boot:

__led_init: failed requesting GPIO59!

Since Kconfig does not seem to accept a define as this point,
but the mxs gpio driver requires not only a simple integer value,
we need to use the plain value of MX23_PAD_SSP1_DETECT__GPIO_2_1.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Fixes: 2d8d190c8394 ("status_led: Kconfig migration")

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

configs/mx23_olinuxino_defconfig
... ... @@ -27,7 +27,7 @@
27 27 CONFIG_LED_STATUS=y
28 28 CONFIG_LED_STATUS_GPIO=y
29 29 CONFIG_LED_STATUS0=y
30   -CONFIG_LED_STATUS_BIT=59
  30 +CONFIG_LED_STATUS_BIT=778
31 31 CONFIG_LED_STATUS_STATE=2
32 32 CONFIG_LED_STATUS_BOOT_ENABLE=y
33 33 CONFIG_LED_STATUS_BOOT=0